diff --git a/src/main/java/cactusServer/models/CollisionManager.java b/src/main/java/cactusServer/models/CollisionManager.java index 0f9d86f..9b2524b 100644 --- a/src/main/java/cactusServer/models/CollisionManager.java +++ b/src/main/java/cactusServer/models/CollisionManager.java @@ -36,8 +36,8 @@ for (Player player : Instances.getInstance().getPlayers(instanceId).values()) { collisionMove(object, player); } - for(Object object2 : instance.getObjects().values()) { - if(!object.equals(object2)) { + for (Object object2 : instance.getObjects().values()) { + if (!object.equals(object2)) { collisionMove(object, object2); } } @@ -52,8 +52,8 @@ } } - - public void collisionMove(Object object1,Object object2) { + + public void collisionMove(Object object1, Object object2) { CollisionResult result; result = PhysicsUtility.checkCollision(object1.getObject(), "", object2.getObject(), ""); if (result != null) {