Browse Source

Refactor towards new constructor.

mobile-class-refactor
MagicBot 1 year ago
parent
commit
99b952ee28
  1. 2
      src/engine/objects/Mob.java

2
src/engine/objects/Mob.java

@ -474,7 +474,7 @@ public class Mob extends AbstractIntelligenceAgent { @@ -474,7 +474,7 @@ public class Mob extends AbstractIntelligenceAgent {
mobile.loadID = loadID;
mobile.level = (short) level;
if (guild.isEmptyGuild())
if (guild == null || guild.isEmptyGuild())
mobile.guildUUID = 0;
else
mobile.guildUUID = guild.getObjectUUID();

Loading…
Cancel
Save