moved onLoad() call

This commit is contained in:
FlorianMichael 2023-03-08 20:55:37 +01:00
parent 0737985e6b
commit b065b7284a

View File

@ -102,8 +102,6 @@ public class ViaFabricPlus {
} }
public void postLoad() throws Exception { public void postLoad() throws Exception {
FabricLoader.getInstance().getEntrypoints("viafabricplus", ViaFabricPlusAddon.class).forEach(ViaFabricPlusAddon::onLoad);
loadGroup( loadGroup(
GeneralSettings.getClassWrapper(), GeneralSettings.getClassWrapper(),
BridgeSettings.getClassWrapper(), BridgeSettings.getClassWrapper(),
@ -112,6 +110,8 @@ public class ViaFabricPlus {
DebugSettings.getClassWrapper() DebugSettings.getClassWrapper()
); );
FabricLoader.getInstance().getEntrypoints("viafabricplus", ViaFabricPlusAddon.class).forEach(ViaFabricPlusAddon::onLoad);
SettingsSave.load(this); SettingsSave.load(this);
PackFormatsDefinition.load(); PackFormatsDefinition.load();