mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-03 00:15:35 +00:00
registry merge debug message
This commit is contained in:
parent
5919bdac50
commit
0366e2e33c
@ -352,6 +352,7 @@ public class ConfigPackImpl implements ConfigPack {
|
|||||||
if(registryMap.containsKey(configType.getTypeKey()
|
if(registryMap.containsKey(configType.getTypeKey()
|
||||||
.getType())) { // Someone already registered something; we need to copy things to the
|
.getType())) { // Someone already registered something; we need to copy things to the
|
||||||
// new registry.
|
// new registry.
|
||||||
|
main.getDebugLogger().warning("Copying values from old registry for " + configType.getTypeKey());
|
||||||
registryMap.get(configType.getTypeKey().getType()).getLeft().forEach(((OpenRegistry<Object>) openRegistry)::register);
|
registryMap.get(configType.getTypeKey().getType()).getLeft().forEach(((OpenRegistry<Object>) openRegistry)::register);
|
||||||
}
|
}
|
||||||
selfLoader.registerLoader(configType.getTypeKey().getType(), openRegistry);
|
selfLoader.registerLoader(configType.getTypeKey().getType(), openRegistry);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user