[SPIGOT-1768] Error when using Eye of Ender in world with custom world generator Created: 05/Mar/16  Updated: 23/Apr/16  Resolved: 06/Mar/16

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Rutger Kok Assignee: Unassigned
Resolution: Fixed Votes: 1
Labels: 1.9, StructureGenerator, stronghold
Environment:

Windows 10, Java 7


Attachments: Java Source File SimpleGenerator.java     Text File error.txt     File simplegenerator-0.0.1-SNAPSHOT.jar    

 Description   

When using a custom world generator, a stacktrace is printed to the console when attempting to use an Eye of Ender. Ingame, nothing happens at all; the Eye of Ender is not consumed, doesn't fly and stays in your inventory.

(In Spigot 1.8, the Eye of Ender just pointed towards some location where Spigot believes there is a stronghold.)

Attached is the stacktrace and a very simple custom world generator plugin called 'SimpleGenerator' (both source and binary).



 Comments   
Comment by Christopher Carrasco [ 23/Apr/16 ]

Had same problem.

Error was because world was generated with generate-structures as false at server properties. So stronghold structure was not created and the find task could not find this. Fixed recreating world with property set to true.

Comment by md_5 [ 06/Mar/16 ]

Thanks for the sample plugin

Generated at Fri Mar 21 18:29:01 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.