diff --git a/src/main/java/cactusServer/models/Instances.java b/src/main/java/cactusServer/models/Instances.java index 2832e62..1d1f7b4 100644 --- a/src/main/java/cactusServer/models/Instances.java +++ b/src/main/java/cactusServer/models/Instances.java @@ -113,7 +113,7 @@ if (player != null) { String previousCharacterID = player.getCharacterID(); player.update(characterID, position, angle, cameraState, animationClassToStart, lastUpdateTime); - if (previousCharacterID.equals(player.getCharacterID())) { + if (!(previousCharacterID.equals(player.getCharacterID()))) { String instanceID = player.getInstanceID(); instanceMap.get(instanceID).getUniverse().place(player.getPlaceable()); }