Renamed class to not conflict with the java.lang version.

This commit is contained in:
2024-04-05 07:59:44 -04:00
parent dd84615ca1
commit c1ee6f5b52
388 changed files with 1807 additions and 1779 deletions
@@ -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.NPCManager;
import engine.net.Dispatch;
@@ -65,8 +65,8 @@ public class TransferItemToBankMsgHandler extends AbstractClientMsgHandler {
if (!item.validForInventory(origin, player, itemManager))
return true;
if (item.containerType == Enum.ItemContainerType.INVENTORY && itemManager.isBankOpen())
if (item.template.item_type.equals(engine.Enum.ItemType.GOLD)) {
if (item.containerType == mbEnums.ItemContainerType.INVENTORY && itemManager.isBankOpen())
if (item.template.item_type.equals(mbEnums.ItemType.GOLD)) {
if (!itemManager.moveGoldToBank(item, msg.getNumItems()))
return true;
UpdateGoldMsg goldMes = new UpdateGoldMsg(player);