Refactor towards new constructor.

This commit is contained in:
MagicBot committed 2023-08-25 12:12:54 -04:00
1 parent 24639b62c0
commit 99b952ee28
1 file changed
+1 -1
+1 -1
View File
@@ -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();