Browse Source

_genTables populated.

master
MagicBot 1 year ago
parent
commit
8f71c8af01
  1. 4
      src/engine/gameManager/LootManager.java

4
src/engine/gameManager/LootManager.java

@ -29,7 +29,7 @@ public enum LootManager {
// Newer tables // Newer tables
public static final HashMap<Integer, ArrayList<GenTableEntry>> _genTables = new HashMap<>(); public static HashMap<Integer, ArrayList<GenTableEntry>> _genTables = new HashMap<>();
//new tables //new tables
public static final HashMap<Integer, GenTable> generalItemTables = new HashMap<>(); 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 //call this on server startup to populate the tables
public static void populateLootTables() { public static void populateLootTables() {
DbManager.LootQueries.LOAD_GEN_ITEM_TABLES(); _genTables = DbManager.LootQueries.LOAD_GEN_ITEM_TABLES();
DbManager.LootQueries.populateGenTables(); DbManager.LootQueries.populateGenTables();
DbManager.LootQueries.populateItemTables(); DbManager.LootQueries.populateItemTables();

Loading…
Cancel
Save