Project reformat.
This commit is contained in:
1 parent
d0bb761344
commit
943d274e5f
53 files changed
+998
-971
No files matched your search
@@ -9,14 +9,12 @@
|
||||
|
||||
package engine.net.client.handlers;
|
||||
|
||||
import engine.Enum;
|
||||
import engine.exception.MsgSendException;
|
||||
import engine.gameManager.BuildingManager;
|
||||
import engine.gameManager.MovementManager;
|
||||
import engine.net.client.ClientConnection;
|
||||
import engine.net.client.msg.ClientNetMsg;
|
||||
import engine.net.client.msg.MoveToPointMsg;
|
||||
import engine.objects.*;
|
||||
import engine.objects.PlayerCharacter;
|
||||
|
||||
public class MoveToPointHandler extends AbstractClientMsgHandler {
|
||||
|
||||
@@ -29,7 +27,7 @@ public class MoveToPointHandler extends AbstractClientMsgHandler {
|
||||
ClientConnection origin) throws MsgSendException {
|
||||
MoveToPointMsg msg = (MoveToPointMsg) baseMsg;
|
||||
PlayerCharacter pc = origin.getPlayerCharacter();
|
||||
if(pc == null)
|
||||
if (pc == null)
|
||||
return true;
|
||||
|
||||
MovementManager.movement(msg, pc);
|
||||
|
||||
Reference in new issue
Block a user