Renamed class to not conflict with the java.lang version.
This commit is contained in:
@@ -10,8 +10,8 @@ package engine.gameManager;
|
||||
|
||||
import com.zaxxer.hikari.HikariConfig;
|
||||
import com.zaxxer.hikari.HikariDataSource;
|
||||
import engine.Enum;
|
||||
import engine.Enum.GameObjectType;
|
||||
import engine.mbEnums;
|
||||
import engine.mbEnums.GameObjectType;
|
||||
import engine.db.handlers.*;
|
||||
import engine.objects.*;
|
||||
import engine.server.MBServerStatics;
|
||||
@@ -176,7 +176,7 @@ public enum DbManager {
|
||||
|
||||
public static boolean addToCache(AbstractGameObject gameObject) {
|
||||
|
||||
boolean isWorldServer = ConfigManager.serverType.equals(Enum.ServerType.WORLDSERVER);
|
||||
boolean isWorldServer = ConfigManager.serverType.equals(mbEnums.ServerType.WORLDSERVER);
|
||||
|
||||
if (!isWorldServer) {
|
||||
if (MBServerStatics.SKIP_CACHE_LOGIN)
|
||||
|
||||
Reference in New Issue
Block a user