mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-27 14:30:23 +00:00
dont implement LoaderHolder in TerraPlugin
This commit is contained in:
1 parent
b3594b2479
commit
2705e7d6a2
11 files changed
+45
-70
No files matched your search
+2
-2
@@ -22,11 +22,11 @@ public class BiomeConfigAddon extends TerraAddon implements EventListener {
|
||||
@Override
|
||||
public void initialize() {
|
||||
main.getEventManager().registerListener(this, this);
|
||||
main.applyLoader(PaletteHolder.class, new PaletteHolderLoader())
|
||||
.applyLoader(SlantHolder.class, (t, o, l) -> null);
|
||||
}
|
||||
|
||||
public void onPackLoad(ConfigPackPreLoadEvent event) {
|
||||
event.getPack().registerConfigType(new BiomeConfigType(event.getPack()), "BIOME", 5);
|
||||
event.getPack().applyLoader(PaletteHolder.class, new PaletteHolderLoader())
|
||||
.applyLoader(SlantHolder.class, (t, o, l) -> null);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user