Method moved to manager class.
This commit is contained in:
@@ -436,4 +436,13 @@ public enum LootManager {
|
||||
}
|
||||
}
|
||||
|
||||
//call this on server startup to populate the tables
|
||||
public static void populateLootTables() {
|
||||
|
||||
DbManager.LootQueries.populateGenTables();
|
||||
DbManager.LootQueries.populateItemTables();
|
||||
DbManager.LootQueries.populateModTables();
|
||||
DbManager.LootQueries.populateModTypeTables();
|
||||
|
||||
}
|
||||
}
|
||||
@@ -124,16 +124,6 @@ public class LootTable {
|
||||
return modTypeTable;
|
||||
}
|
||||
|
||||
//call this on server startup to populate the tables
|
||||
public static void populateLootTables() {
|
||||
|
||||
DbManager.LootQueries.populateGenTables();
|
||||
DbManager.LootQueries.populateItemTables();
|
||||
DbManager.LootQueries.populateModTables();
|
||||
DbManager.LootQueries.populateModTypeTables();
|
||||
|
||||
}
|
||||
|
||||
public static int gaussianLevel(int level) {
|
||||
|
||||
int ret = -76;
|
||||
|
||||
@@ -341,7 +341,7 @@ public class WorldServer {
|
||||
LootManager.init();
|
||||
|
||||
//load old loot system (still needed for rolling for now)
|
||||
LootTable.populateLootTables();
|
||||
LootManager.populateLootTables();
|
||||
RuneBaseAttribute.LoadAllAttributes();
|
||||
RuneBase.LoadAllRuneBases();
|
||||
BaseClass.LoadAllBaseClasses();
|
||||
|
||||
Reference in New Issue
Block a user