Bug fixes: maxShield is now set on user creation and vault objectId is set on world generation

This commit is contained in:
simon
2018-03-11 16:06:15 -04:00
parent 1d780f7d9b
commit cbde2450fa
3 changed files with 12 additions and 1 deletions

View File

@@ -123,6 +123,7 @@ public class WorldCreationListener implements GameEventListener {
}
}
vaultDoor.setObjectId(GameServer.INSTANCE.getGameUniverse().getNextObjectId());
world.addObject(vaultDoor);
world.incUpdatable(); //In case the Factory & Radio Tower couldn't be spawned.
vaultDoor.setWorld(world);