Browse Source

mine load error

lakebane2
FatBoy-DOTC 3 weeks ago
parent
commit
1a7c1e2544
  1. 7
      src/engine/db/handlers/dbHandlerBase.java

7
src/engine/db/handlers/dbHandlerBase.java

@ -56,6 +56,13 @@ public abstract class dbHandlerBase {
while (rs.next()) { while (rs.next()) {
int id = rs.getInt(1); int id = rs.getInt(1);
try {
if (rs.getInt("capSize") == 0) {
continue;
}
}catch(Exception e){
//not a mine
}
if (DbManager.inCache(localObjectType, id)) { if (DbManager.inCache(localObjectType, id)) {
objectList.add((T) DbManager.getFromCache(localObjectType, id)); objectList.add((T) DbManager.getFromCache(localObjectType, id));

Loading…
Cancel
Save