Fix startup error
This commit is contained in:
parent
05de6143ec
commit
1b4f9227a7
|
@ -62,12 +62,6 @@ public class CakeIslandModule extends CakeModule
|
|||
_schematic = new HashSet<>(200);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void setup()
|
||||
{
|
||||
_center = _game.WorldData.GetDataLocs("WHITE").get(0);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void cleanup()
|
||||
{
|
||||
|
@ -83,6 +77,8 @@ public class CakeIslandModule extends CakeModule
|
|||
return;
|
||||
}
|
||||
|
||||
_center = _game.WorldData.GetDataLocs("WHITE").get(0);
|
||||
|
||||
List<Location> corners = _game.WorldData.GetCustomLocs("CUSTOM_ISLAND");
|
||||
List<Block> blocks = UtilBlock.getInBoundingBox(corners.get(0), corners.get(1));
|
||||
Location center = null;
|
||||
|
|
Loading…
Reference in New Issue