|
|
@ -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; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|