Fixed
This commit is contained in:
@@ -119,9 +119,6 @@ public class DimensionsMethods {
|
|||||||
public CustomDimensionDescription(int id, String name){
|
public CustomDimensionDescription(int id, String name){
|
||||||
this.id = id;
|
this.id = id;
|
||||||
this.name = name;
|
this.name = name;
|
||||||
|
|
||||||
if(LEVELS_LOADED)
|
|
||||||
this.loadLevel(Server.getInstance());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getId() {
|
public int getId() {
|
||||||
@@ -190,6 +187,8 @@ public class DimensionsMethods {
|
|||||||
generator.updateDescription(name, id);
|
generator.updateDescription(name, id);
|
||||||
description.initLevel(level);
|
description.initLevel(level);
|
||||||
ReflectHelper.setField(level, "dimensionData", generator.data);
|
ReflectHelper.setField(level, "dimensionData", generator.data);
|
||||||
|
}else if(LEVELS_LOADED){
|
||||||
|
description.loadLevel(Server.getInstance());
|
||||||
}
|
}
|
||||||
|
|
||||||
dimensionsId.put(name, id);
|
dimensionsId.put(name, id);
|
||||||
|
|||||||
Reference in New Issue
Block a user