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