More itembase refactor work

This commit is contained in:
2024-03-16 06:45:31 -04:00
parent d9032f750f
commit c90461afe0
@@ -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;
} }
/** /**