Closed DrastiCraft closed 10 years ago
That's going to happen with /reload for anything that checks the generator for a world.
In a few places I need to check if something happened in a plot world or not, I do that using
if (world.getGenerator() instanceof PlotGenerator){
PlotGenerator is the class that generates the paths.
The problem is that /reload will unload the PlotGenerator class and load a new one with the same name but a different internal identifier. Java checks that when doing an instanceof and the half matching causes a bit of confusion.
Basically, can't be fixed easily. Don't use /reload ;)
For both of these, I ran /plot claim.
After reload Before reload:
Full trace:
I am using Build #94 from the Jenkins service @ jacekk.co.uk