fixed pet attack and null weapon combat issue

This commit is contained in:
2024-05-26 22:00:52 -05:00
parent 7ed026f088
commit 22c8cdcf65
2 changed files with 9 additions and 13 deletions
@@ -46,9 +46,6 @@ public class PetAttackMsgHandler extends AbstractClientMsgHandler {
if (!pet.isAlive())
return true;
if (pet.getCombatTarget() == null)
return true;
if ((playerCharacter.inSafeZone())
&& (msg.getTargetType() == mbEnums.GameObjectType.PlayerCharacter.ordinal()))
return true;