Browse Source

Parm name update

combat-2
MagicBot 8 months ago
parent
commit
71300f189d
  1. 4
      src/engine/objects/Item.java

4
src/engine/objects/Item.java

@ -943,10 +943,10 @@ public class Item extends AbstractWorldObject {
return true; return true;
} }
protected synchronized boolean equipItem(Mob npc, Enum.EquipSlotType slot) { protected synchronized boolean equipItem(Mob mobile, Enum.EquipSlotType slot) {
this.zeroItem(); this.zeroItem();
this.ownerID = npc.getObjectUUID(); this.ownerID = mobile.getObjectUUID();
this.ownerType = OwnerType.Mob; this.ownerType = OwnerType.Mob;
this.containerType = Enum.ItemContainerType.EQUIPPED; this.containerType = Enum.ItemContainerType.EQUIPPED;
this.equipSlot = slot; this.equipSlot = slot;

Loading…
Cancel
Save