Project reformat.
This commit is contained in:
@@ -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