From 6ff26f6a257279aba3d1495531d278ead9e656c4 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 18 Mar 2024 13:29:09 -0400 Subject: [PATCH] Equipset reloaded after respawn --- src/engine/objects/Mob.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index 9cd79f1c..7b1e72fc 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -1015,6 +1015,10 @@ public class Mob extends AbstractIntelligenceAgent implements Delayed { this.charItemManager.clearInventory(); this.charItemManager.clearEquip(); + // Reload equipment set + + this.charItemManager.equipped = MobBase.loadEquipmentSet(this.equipmentSetID); + // Only generate loot for mobiles if (!this.agentType.equals(AIAgentType.MOBILE))