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.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)
|
||||
|
||||
Reference in New Issue
Block a user