player placed mobiles now show correct names

This commit is contained in:
2023-04-30 16:05:48 -05:00
parent 56a6b9d204
commit 6868c9de24
2 changed files with 12 additions and 21 deletions
+2 -2
View File
@@ -385,9 +385,9 @@ public class MobileFSM {
mob.updateLocation();
if (mob.BehaviourType != Enum.MobBehaviourType.Pet1) {
if (mob.getCombatTarget() == null) {
if (mob.BehaviourType.ordinal() == Enum.MobBehaviourType.GuardMinion.ordinal() && (mob.npcOwner).isAlive()) {
if (mob.BehaviourType.ordinal() == Enum.MobBehaviourType.GuardMinion.ordinal())
return;
}
Patrol(mob);
}
else {