mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-22 16:17:20 +00:00
default impl of ConfigType#registrySupplier
This commit is contained in:
1 parent
c55c404973
commit
e5ab20e167
1 file changed
-5
-5
@@ -24,11 +24,6 @@ public class FeatureConfigType implements ConfigType<FeatureTemplate, Feature> {
|
||||
|
||||
private final FeatureFactory factory = new FeatureFactory();
|
||||
|
||||
@Override
|
||||
public Supplier<OpenRegistry<Feature>> registrySupplier(ConfigPack pack) {
|
||||
return pack.getRegistryFactory()::create;
|
||||
}
|
||||
|
||||
@Override
|
||||
public FeatureTemplate getTemplate(ConfigPack pack, Platform platform) {
|
||||
return new FeatureTemplate();
|
||||
|
||||
Reference in new issue
Block a user