Browse Source

Start mobequip refactor

combat-2
MagicBot 8 months ago
parent
commit
fa0dfadc8b
  1. 3
      src/engine/objects/Mob.java

3
src/engine/objects/Mob.java

@ -33,7 +33,6 @@ import org.pmw.tinylog.Logger;
import java.sql.ResultSet; import java.sql.ResultSet;
import java.sql.SQLException; import java.sql.SQLException;
import java.util.EnumSet; import java.util.EnumSet;
import java.util.HashMap;
import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.Delayed; import java.util.concurrent.Delayed;
import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeUnit;
@ -1670,8 +1669,6 @@ public class Mob extends AbstractIntelligenceAgent implements Delayed {
if (this.equipmentSetID != 0) if (this.equipmentSetID != 0)
this.charItemManager.equipped = MobBase.loadEquipmentSet(this.equipmentSetID); this.charItemManager.equipped = MobBase.loadEquipmentSet(this.equipmentSetID);
else
this.charItemManager.equipped = new ConcurrentHashMap<>();
// Combine mobbase and mob aggro arrays into one bitvector // Combine mobbase and mob aggro arrays into one bitvector
//skip for pets //skip for pets

Loading…
Cancel
Save