error tracking

This commit is contained in:
2023-04-07 11:36:52 -05:00
parent a0310b6767
commit b51843942b
2 changed files with 7 additions and 6 deletions
@@ -182,13 +182,10 @@ public class dbLootTableHandler extends dbHandlerBase {
while (rs.next()) {
recordsRead++;
try {
LootManager.ModTypeTableRow mttr = new LootManager.ModTypeTableRow(rs);
LootManager.AddModTypeTableRow(rs.getInt("modGroup"), mttr);
}
catch(Exception ex){
Logger.info("MOD TABLE ERROR: " + rs.getInt("modGroup"));
}
}
Logger.info( "read: " + recordsRead);
@@ -211,8 +208,13 @@ public class dbLootTableHandler extends dbHandlerBase {
while (rs.next()) {
recordsRead++;
try {
LootManager.ModTableRow mtr = new LootManager.ModTableRow(rs);
LootManager.AddModTableRow(rs.getInt("modTable"),mtr);
}
catch(Exception ex){
Logger.info("MOD TABLE ERROR: " + rs.getInt("modTable"));
}
}
Logger.info( "read: " + recordsRead);
-1
View File
@@ -83,7 +83,6 @@ public class LootManager {
case "ITEM":
Item disc = Item.getItem(bse.itemBase);
if(disc != null) {
mob.getCharItemManager().addItemToInventory(disc);
}
break;