mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-02-16 10:30:42 +00:00
registerChecked config packs
This commit is contained in:
@@ -45,7 +45,7 @@ public class ConfigRegistry extends OpenRegistryImpl<ConfigPack> {
|
||||
|
||||
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<ConfigPack> {
|
||||
|
||||
public void load(ZipFile file, Platform platform) throws ConfigException {
|
||||
ConfigPackImpl pack = new ConfigPackImpl(file, platform);
|
||||
register(pack.getRegistryKey(), pack);
|
||||
registerChecked(pack.getRegistryKey(), pack);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user