mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-12-13 22:59:02 +00:00
Bug fixes: maxShield is now set on user creation and vault objectId is set on world generation
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user