mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-26 14:00:14 +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
+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