mele attack null checks
This commit is contained in:
1 parent
16a0b9c0e3
commit
97b2af52b9
2 files changed
+6
-3
No files matched your search
@@ -133,6 +133,9 @@ public class MobAI {
|
||||
if (mob.isMoving() && mob.getRange() > 20)
|
||||
return;
|
||||
|
||||
if(target.combatStats == null)
|
||||
target.combatStats = new PlayerCombatStats(target);
|
||||
|
||||
// add timer for last attack.
|
||||
|
||||
ItemBase mainHand = mob.getWeaponItemBase(true);
|
||||
|
||||
Reference in new issue
Block a user