duplicated zone loading disabled

This commit is contained in:
2024-06-11 19:47:34 -05:00
parent e98f9cf1f7
commit 395fe31e02
3 changed files with 6 additions and 8 deletions
+2
View File
@@ -61,6 +61,7 @@ public class Zone extends AbstractGameObject {
//public static ArrayList<Mob> respawnQue = new ArrayList<>();
public static final Set<Mob> respawnQue = Collections.newSetFromMap(new ConcurrentHashMap<>());
public static long lastRespawn = 0;
public int canLoad;
/**
* ResultSet Constructor
*/
@@ -101,6 +102,7 @@ public class Zone extends AbstractGameObject {
if (hash == null)
setHash();
this.canLoad = rs.getInt("canLoad");
}