forked from MagicBane/Server
Comment for clarity.
This commit is contained in:
@@ -350,6 +350,8 @@ public enum NPCManager {
|
|||||||
else {
|
else {
|
||||||
Mob mobile = (Mob) abstractCharacter;
|
Mob mobile = (Mob) abstractCharacter;
|
||||||
|
|
||||||
|
// Siege engines are not hirelings but minions of said hireling.
|
||||||
|
|
||||||
if (!mobile.behaviourType.equals(Enum.MobBehaviourType.SiegeEngine))
|
if (!mobile.behaviourType.equals(Enum.MobBehaviourType.SiegeEngine))
|
||||||
abstractCharacter.building.getHirelings().put(abstractCharacter, buildingSlot);
|
abstractCharacter.building.getHirelings().put(abstractCharacter, buildingSlot);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user