duplicated zone loading disabled
This commit is contained in:
@@ -32,6 +32,9 @@ public class dbCityHandler extends dbHandlerBase {
|
|||||||
String type = rs.getString("type");
|
String type = rs.getString("type");
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case "zone":
|
case "zone":
|
||||||
|
if(rs.getInt("canLoad") == 0){
|
||||||
|
return;
|
||||||
|
}
|
||||||
Zone zone = new Zone(rs);
|
Zone zone = new Zone(rs);
|
||||||
DbManager.addToCache(zone);
|
DbManager.addToCache(zone);
|
||||||
list.add(zone);
|
list.add(zone);
|
||||||
|
|||||||
Reference in New Issue
Block a user