Moving items out of constructor.

This commit is contained in:
2023-08-20 16:38:10 -04:00
parent 2c9fc405e9
commit b21e9dc59e
5 changed files with 23 additions and 11 deletions
+4
View File
@@ -1928,6 +1928,10 @@ public class Mob extends AbstractIntelligenceAgent {
@Override
public void runAfterLoad() {
// Initialize inventory
this.charItemManager = new CharacterItemManager(this);
try {
if (this.equipmentSetID != 0)
this.equip = MobBase.loadEquipmentSet(this.equipmentSetID);