mirror of
https://github.com/HMCore/Core.git
synced 2025-12-12 22:06:25 +00:00
made module list final
This commit is contained in:
@@ -6,7 +6,7 @@ import java.util.HashMap;
|
|||||||
|
|
||||||
public class HMCore {
|
public class HMCore {
|
||||||
|
|
||||||
public static HashMap<String, Module<?, ?>> modules = new HashMap<>();
|
public static final HashMap<String, Module<?, ?>> modules = new HashMap<>();
|
||||||
|
|
||||||
public static void callAllModuleRegistries() {
|
public static void callAllModuleRegistries() {
|
||||||
modules.forEach((name, module) -> module.registerObjects());
|
modules.forEach((name, module) -> module.registerObjects());
|
||||||
|
|||||||
Reference in New Issue
Block a user