duplicated zone loading disabled

This commit is contained in:
FatBoy committed 2024-06-11 19:47:34 -05:00
1 parent e98f9cf1f7
commit 395fe31e02
3 files changed
+6 -8

No files matched your search

+1 -8
View File
@@ -32,14 +32,7 @@ public abstract class dbHandlerBase {
try {
if (rs.next()) {
abstractGameObject = localClass.getConstructor(ResultSet.class).newInstance(rs);
if(abstractGameObject.getObjectType().equals(GameObjectType.Zone)){
if(rs.getInt("canLoad") == 1){
DbManager.addToCache(abstractGameObject);
}
}else {
DbManager.addToCache(abstractGameObject);
}
DbManager.addToCache(abstractGameObject);
}
} catch (Exception e) {
Logger.error(e);