Move registry instance out of Main

This commit is contained in:
Aubri Seebauer committed 2023-05-02 16:00:10 -04:00
1 parent 1dd938da60
commit 89fc6d1769
6 files changed
+18 -9

No files matched your search

@@ -242,6 +242,6 @@ public class CommandHelper {
* @return list of all alathrawar items namespaced
*/
public static List<String> getWarItems() {
return new ArrayList<>(WarItemRegistry.getItemRegistry().keySet());
return new ArrayList<>(WarItemRegistry.getInstance().getItemRegistry().keySet());
}
}