_genTables populated.

This commit is contained in:
2023-08-06 18:09:34 -04:00
parent 6acc422345
commit 8f71c8af01
+2 -2
View File
@@ -29,7 +29,7 @@ public enum LootManager {
// Newer tables
public static final HashMap<Integer, ArrayList<GenTableEntry>> _genTables = new HashMap<>();
public static HashMap<Integer, ArrayList<GenTableEntry>> _genTables = new HashMap<>();
//new tables
public static final HashMap<Integer, GenTable> generalItemTables = new HashMap<>();
@@ -443,7 +443,7 @@ public enum LootManager {
//call this on server startup to populate the tables
public static void populateLootTables() {
DbManager.LootQueries.LOAD_GEN_ITEM_TABLES();
_genTables = DbManager.LootQueries.LOAD_GEN_ITEM_TABLES();
DbManager.LootQueries.populateGenTables();
DbManager.LootQueries.populateItemTables();