mobs will attack player pets

This commit is contained in:
FatBoy committed 2025-02-15 06:46:17 -06:00
1 parent 6ebeb9cadf
commit 6c7f01dc72
1 file changed
+5
+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);