forked from MagicBane/Server
null set for target
This commit is contained in:
@@ -64,7 +64,7 @@ public class AttackCmdMsgHandler extends AbstractClientMsgHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(target == null) {
|
if(target == null) {
|
||||||
playerCharacter.setCombatTarget(target);
|
playerCharacter.setCombatTarget(null);
|
||||||
return true; // cannot attack a null target
|
return true; // cannot attack a null target
|
||||||
}
|
}
|
||||||
//set sources target
|
//set sources target
|
||||||
|
|||||||
Reference in New Issue
Block a user