Browse Source

More itembase refactor work

combat-2
MagicBot 8 months ago
parent
commit
c90461afe0
  1. 4
      src/engine/net/client/msg/TransferItemFromInventoryToEquipMsg.java

4
src/engine/net/client/msg/TransferItemFromInventoryToEquipMsg.java

@ -38,12 +38,12 @@ public class TransferItemFromInventoryToEquipMsg extends ClientNetMsg {
super(Protocol.EQUIP); super(Protocol.EQUIP);
} }
public TransferItemFromInventoryToEquipMsg(AbstractCharacter source, Enum.EquipSlotType slot, int itemBaseID) { public TransferItemFromInventoryToEquipMsg(AbstractCharacter source, Enum.EquipSlotType slot, int templateID) {
super(Protocol.EQUIP); super(Protocol.EQUIP);
this.sourceType = source.getObjectType().ordinal(); this.sourceType = source.getObjectType().ordinal();
this.sourceID = source.getObjectUUID(); this.sourceID = source.getObjectUUID();
this.slot = slot; this.slot = slot;
this.templateID = itemBaseID; this.templateID = templateID;
} }
/** /**

Loading…
Cancel
Save