mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-22 08:07:51 +00:00
getKey -> key
This commit is contained in:
1 parent
8467a19781
commit
2b92e2e73b
22 files changed
+78
-83
No files matched your search
@@ -209,7 +209,7 @@ public abstract class AbstractPlatform implements Platform {
|
||||
platformInjector.inject(addon);
|
||||
addon.initialize();
|
||||
if(!(addon instanceof EphemeralAddon)) { // ephemeral addons exist only for version checking
|
||||
addonRegistry.register(addon.getKey(addon.getID()), addon);
|
||||
addonRegistry.register(addon.key(addon.getID()), addon);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
+1
-1
@@ -220,7 +220,7 @@ public class ConfigPackImpl implements ConfigPack {
|
||||
return Pair.of(configuration.getID(), loaded);
|
||||
})
|
||||
.toList()
|
||||
.forEach(pair -> registry.register(getKey(pair.getLeft()), pair.getRight()));
|
||||
.forEach(pair -> registry.register(key(pair.getLeft()), pair.getRight()));
|
||||
platform.getEventManager().callEvent(new ConfigTypePostLoadEvent(configType, registry, this));
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user