diff --git a/common/implementation/base/src/main/java/com/dfsek/terra/registry/master/ConfigRegistry.java b/common/implementation/base/src/main/java/com/dfsek/terra/registry/master/ConfigRegistry.java index 98ab127e1..b4ba6dc40 100644 --- a/common/implementation/base/src/main/java/com/dfsek/terra/registry/master/ConfigRegistry.java +++ b/common/implementation/base/src/main/java/com/dfsek/terra/registry/master/ConfigRegistry.java @@ -45,7 +45,7 @@ public class ConfigRegistry extends OpenRegistryImpl { public void load(File folder, Platform platform) throws ConfigException { ConfigPack pack = new ConfigPackImpl(folder, platform); - register(pack.getRegistryKey(), pack); + registerChecked(pack.getRegistryKey(), pack); } public boolean loadAll(Platform platform) { @@ -75,6 +75,6 @@ public class ConfigRegistry extends OpenRegistryImpl { public void load(ZipFile file, Platform platform) throws ConfigException { ConfigPackImpl pack = new ConfigPackImpl(file, platform); - register(pack.getRegistryKey(), pack); + registerChecked(pack.getRegistryKey(), pack); } }