Renamed class to not conflict with the java.lang version.
This commit is contained in:
@@ -8,8 +8,8 @@
|
||||
|
||||
package engine.net.client.handlers;
|
||||
|
||||
import engine.Enum;
|
||||
import engine.Enum.DispatchChannel;
|
||||
import engine.mbEnums;
|
||||
import engine.mbEnums.DispatchChannel;
|
||||
import engine.exception.MsgSendException;
|
||||
import engine.gameManager.ChatManager;
|
||||
import engine.net.Dispatch;
|
||||
@@ -44,7 +44,7 @@ public class TransferItemFromInventoryToEquipHandler extends AbstractClientMsgHa
|
||||
}
|
||||
|
||||
int itemUUID = transferMsg.getUUID();
|
||||
Enum.EquipSlotType equipSlot = transferMsg.slot;
|
||||
mbEnums.EquipSlotType equipSlot = transferMsg.slot;
|
||||
|
||||
Item item = itemManager.getItemByUUID(itemUUID);
|
||||
|
||||
@@ -62,7 +62,7 @@ public class TransferItemFromInventoryToEquipHandler extends AbstractClientMsgHa
|
||||
if (!item.validForInventory(origin, playerCharacter, itemManager))
|
||||
return true;
|
||||
|
||||
if (item.containerType == Enum.ItemContainerType.INVENTORY) {
|
||||
if (item.containerType == mbEnums.ItemContainerType.INVENTORY) {
|
||||
if (!itemManager.equipItem(item, equipSlot)) {
|
||||
forceTransferFromEquipToInventory(transferMsg, origin, "Failed to transfer item.");
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user