mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-02-16 10:30:42 +00:00
getKey -> key
This commit is contained in:
@@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -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