mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-02 14:38:56 +00:00
Move registry instance out of Main
This commit is contained in:
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());
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user