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.net.Dispatch;
import engine.net.DispatchMessage;
@@ -46,11 +46,11 @@ public class ShowMsgHandler extends AbstractClientMsgHandler {
int targetType = msg.getTargetType();
AbstractCharacter tar = null;
if (targetType == Enum.GameObjectType.PlayerCharacter.ordinal())
if (targetType == mbEnums.GameObjectType.PlayerCharacter.ordinal())
tar = PlayerCharacter.getFromCache(msg.getTargetID());
else if (targetType == Enum.GameObjectType.NPC.ordinal())
else if (targetType == mbEnums.GameObjectType.NPC.ordinal())
tar = NPC.getFromCache(msg.getTargetID());
else if (targetType == Enum.GameObjectType.Mob.ordinal())
else if (targetType == mbEnums.GameObjectType.Mob.ordinal())
tar = Mob.getFromCache(msg.getTargetID());
if (tar == null || !tar.isAlive() || !tar.isActive())