mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-12-13 22:59:02 +00:00
More work on vaults
This commit is contained in:
@@ -6,6 +6,8 @@ public enum Action {
|
||||
WALKING,
|
||||
WITHDRAWING,
|
||||
DEPOSITING,
|
||||
LISTENING
|
||||
LISTENING,
|
||||
_PLACEHOLDER_,
|
||||
ATTACKING,
|
||||
|
||||
}
|
||||
|
||||
@@ -240,15 +240,13 @@ public class DebugHandler implements MessageHandler {
|
||||
|
||||
if (object instanceof Updatable) {
|
||||
object.getWorld().decUpdatable();
|
||||
world.incUpdatable();
|
||||
|
||||
}
|
||||
|
||||
object.getWorld().removeObject(object);
|
||||
object.setWorld(world);
|
||||
world.addObject(object);
|
||||
|
||||
if (object instanceof Updatable) {
|
||||
world.incUpdatable();
|
||||
}
|
||||
object.setWorld(world);
|
||||
|
||||
object.setX(x);
|
||||
object.setY(y);
|
||||
|
||||
Reference in New Issue
Block a user