|
|
|
@ -65,6 +65,22 @@ public class dbMineHandler extends dbHandlerBase {
@@ -65,6 +65,22 @@ public class dbMineHandler extends dbHandlerBase {
|
|
|
|
|
} catch (SQLException e) { |
|
|
|
|
Logger.error(e); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
try (Connection connection = DbManager.getConnection(); |
|
|
|
|
PreparedStatement preparedStatement = connection.prepareStatement("SELECT * FROM obj_mine;")) { |
|
|
|
|
|
|
|
|
|
ResultSet rs = preparedStatement.executeQuery(); |
|
|
|
|
int count = 0; |
|
|
|
|
while(rs.next()){ |
|
|
|
|
count++; |
|
|
|
|
} |
|
|
|
|
if(count == 33){ |
|
|
|
|
int poop = 100; |
|
|
|
|
} |
|
|
|
|
} catch (SQLException e) { |
|
|
|
|
Logger.error(e); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return mines; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|