Logic cleanup

This commit is contained in:
2024-03-09 09:55:00 -05:00
parent f6fbc6fecb
commit 658b442b36
2 changed files with 8 additions and 13 deletions
@@ -58,10 +58,8 @@ public class TransferItemFromEquipToInventoryHandler extends AbstractClientMsgHa
if (!item.validForEquip(origin, player, itemManager))
return true;
if (item.containerType == Enum.ItemContainerType.EQUIPPED) {
itemManager.equipped.remove(item.equipSlot);
if (item.containerType == Enum.ItemContainerType.EQUIPPED)
itemManager.moveItemToInventory(item);
}
int ItemType = item.getObjectType().ordinal();
int ItemID = item.getObjectUUID();