mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-17 06:11:24 +00:00
dont implement LoaderHolder in TerraPlugin
This commit is contained in:
+1
-2
@@ -20,10 +20,9 @@ public class StructureAddon extends TerraAddon implements EventListener {
|
||||
@Override
|
||||
public void initialize() {
|
||||
main.getEventManager().registerListener(this, this);
|
||||
main.applyLoader(ConfiguredStructure.class, (t, o, l) -> null);
|
||||
}
|
||||
|
||||
public void onConfigLoad(ConfigPackPreLoadEvent event) {
|
||||
|
||||
event.getPack().applyLoader(ConfiguredStructure.class, (t, o, l) -> null);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user