Why is 'null' deserialized to "null" instead of null!?
This commit is contained in:
parent
82cfbaba4e
commit
5d9941d073
|
@ -272,7 +272,7 @@ public class WorldManager implements MVWorldManager {
|
|||
WorldCreator creator = WorldCreator.name(name);
|
||||
|
||||
creator.environment(world.getEnvironment()).seed(world.getSeed());
|
||||
if (world.getGenerator() != null)
|
||||
if ((world.getGenerator() != null) && (!world.getGenerator().equals("null")))
|
||||
creator.generator(world.getGenerator());
|
||||
|
||||
return doLoad(creator);
|
||||
|
|
Loading…
Reference in New Issue