mobs will attack player pets

This commit is contained in:
2025-02-15 06:46:17 -06:00
parent 048474b014
commit 5a3f4e690f
+5
View File
@@ -106,6 +106,11 @@ public class MobAI {
return;
}
if(target.getPet() != null && target.getPet().isAlive()){
mob.setCombatTarget(target.getPet());
return;
}
if (mob.BehaviourType.callsForHelp)
MobCallForHelp(mob);