From 8f71c8af01790e6ba22947e6fa1750b90cec8913 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 6 Aug 2023 18:09:34 -0400 Subject: [PATCH] _genTables populated. --- src/engine/gameManager/LootManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/gameManager/LootManager.java b/src/engine/gameManager/LootManager.java index e525386c..730eb269 100644 --- a/src/engine/gameManager/LootManager.java +++ b/src/engine/gameManager/LootManager.java @@ -29,7 +29,7 @@ public enum LootManager { // Newer tables - public static final HashMap> _genTables = new HashMap<>(); + public static HashMap> _genTables = new HashMap<>(); //new tables public static final HashMap 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();