Fixes #121 + Saner thread safety

This commit is contained in:
simon
2018-01-09 22:10:55 -05:00
parent 59fd620e4a
commit 54b72e89b3
13 changed files with 128 additions and 289 deletions

View File

@@ -37,7 +37,7 @@ public class UserCreationListener implements GameEventListener {
cubot.setX(point.x);
cubot.setY(point.y);
cubot.getWorld().getGameObjects().add(cubot);
cubot.getWorld().addObject(cubot);
cubot.getWorld().incUpdatable();
cubot.setHeldItem(GameServer.INSTANCE.getConfig().getInt("new_user_item"));