zone loading

This commit is contained in:
2024-04-30 20:03:22 -05:00
parent a4a375e13b
commit d0b716eb41
2 changed files with 3 additions and 7 deletions
@@ -63,6 +63,9 @@ public abstract class dbHandlerBase {
} else {
AbstractGameObject toAdd = localClass.getConstructor(ResultSet.class).newInstance(rs);
DbManager.addToCache(toAdd);
if(toAdd.getObjectType().equals(GameObjectType.Zone) && rs.getInt("canLoad") == 0){
continue;
}
objectList.add((T) toAdd);
if (toAdd != null && toAdd instanceof AbstractWorldObject)