mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-18 23:01:03 +00:00
allow registry manager to be overwritten
This commit is contained in:
-3
@@ -68,11 +68,8 @@ public abstract class LifecyclePlatform extends ModPlatform {
|
||||
}
|
||||
|
||||
public static void addRegistryManager(DynamicRegistryManager in) {
|
||||
if(DYNAMIC_REGISTRY_MANAGER.get() == null) {
|
||||
DYNAMIC_REGISTRY_MANAGER.set(Objects.requireNonNull(in));
|
||||
}
|
||||
throw new IllegalStateException("Already set!");
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Iterable<BaseAddon> platformAddon() {
|
||||
|
||||
Reference in New Issue
Block a user