|
|
|
@ -246,6 +246,12 @@ public class Mob extends AbstractIntelligenceAgent {
@@ -246,6 +246,12 @@ public class Mob extends AbstractIntelligenceAgent {
|
|
|
|
|
Logger.error(e + " " + this.dbID); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
try { |
|
|
|
|
initializeMob(false, false, this.isPlayerGuard); |
|
|
|
|
} catch (Exception e) { |
|
|
|
|
Logger.error("Mobile:" + this.dbID + ": " + e); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static void serializeMobForClientMsgOtherPlayer(Mob mob, ByteBufferWriter writer) throws SerializationException { |
|
|
|
@ -1882,8 +1888,6 @@ public class Mob extends AbstractIntelligenceAgent {
@@ -1882,8 +1888,6 @@ public class Mob extends AbstractIntelligenceAgent {
|
|
|
|
|
NPCManager.slotCharacterInBuilding(this); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
initializeMob(false, false, this.isPlayerGuard); |
|
|
|
|
|
|
|
|
|
// Initialize inventory
|
|
|
|
|
|
|
|
|
|
this.charItemManager = new CharacterItemManager(this); |
|
|
|
|