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.SessionManager;
import engine.net.Dispatch;
@@ -81,7 +81,7 @@ public class VendorSellMsgHandler extends AbstractClientMsgHandler {
// Early exit sanity check
if (vendorSellMsg.getItemType() == Enum.GameObjectType.Item.ordinal() == false)
if (vendorSellMsg.getItemType() == mbEnums.GameObjectType.Item.ordinal() == false)
return true;
sell = Item.getFromCache(vendorSellMsg.getItemID());
@@ -133,7 +133,7 @@ public class VendorSellMsgHandler extends AbstractClientMsgHandler {
Building building = (!npc.isStatic()) ? npc.getBuilding() : null;
if (building != null && building.getProtectionState().equals(Enum.ProtectionState.NPC))
if (building != null && building.getProtectionState().equals(mbEnums.ProtectionState.NPC))
building = null;
if (npc.getParentZone().playerCityUUID == 0)