Project reformat.

This commit is contained in:
2024-03-24 09:42:27 -04:00
parent d0bb761344
commit 943d274e5f
53 changed files with 998 additions and 971 deletions
@@ -49,7 +49,7 @@ public class AttackCmdMsgHandler extends AbstractClientMsgHandler {
targetType = Enum.GameObjectType.values()[msg.getTargetType()];
switch(targetType){
switch (targetType) {
case Mob:
target = Mob.getMob(msg.getTargetID());
break;
@@ -63,7 +63,7 @@ public class AttackCmdMsgHandler extends AbstractClientMsgHandler {
target = NPC.getNPC(msg.getTargetID());
break;
}
if(target == null) {
if (target == null) {
playerCharacter.setCombatTarget(null);
return true; // cannot attack a null target
}