clean up unused stuff

This commit is contained in:
dfsek 2021-11-23 21:04:18 -07:00
parent 07520b9014
commit 3557536968
2 changed files with 0 additions and 10 deletions

View File

@ -34,12 +34,9 @@ public class ConfigTypeRegistry extends OpenRegistryImpl<ConfigType<?, ?>> {
private final BiConsumer<String, ConfigType<?, ?>> callback;
private final Platform platform;
public ConfigTypeRegistry(Platform platform, BiConsumer<String, ConfigType<?, ?>> callback) {
super(new LinkedHashMap<>()); // Ordered
this.callback = callback;
this.platform = platform;
}
@Override

View File

@ -137,13 +137,6 @@ public final class FabricAddon implements BaseAddon {
}
private void injectTree(CheckedRegistry<Tree> registry, String id, ConfiguredFeature<?, ?> tree) {
try {
registry.register(id, (Tree) tree);
} catch(DuplicateEntryException ignore) {
}
}
public Map<ConfigPack, Mutable<PreLoadCompatibilityOptions, PostLoadCompatibilityOptions>> getTemplates() {
return templates;
}