Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/main/java/com/altnoir/mia/client/MiaClientEvents.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@
import com.altnoir.mia.client.renderer.TheAbyssFogRenderer;
import com.altnoir.mia.common.component.ArtifactBundleInventoryComponent;
import com.altnoir.mia.compat.Mods;
import com.altnoir.mia.compat.ponder.MiaPonder;
import com.altnoir.mia.compat.ponder.MiaPonderRegistry;
import com.altnoir.mia.core.event.client.*;
import com.altnoir.mia.core.event.common.AbyssMobEvent;
import com.altnoir.mia.init.MiaKeyBinding;
import com.altnoir.mia.init.MiaMenus;
import net.createmod.ponder.foundation.PonderIndex;
import net.minecraft.client.Minecraft;
import net.neoforged.fml.event.config.ModConfigEvent;
import net.neoforged.fml.event.lifecycle.FMLClientSetupEvent;
Expand All @@ -27,7 +26,7 @@ public static void modLoad(final ModConfigEvent event) {
}

public static void onClientSetup(final FMLClientSetupEvent event) {
Mods.PONDER.executeIfInstalled(() -> () -> PonderIndex.addPlugin(new MiaPonder()));
Mods.PONDER.executeIfInstalled(() -> () -> MiaPonderRegistry.register());
}

public static void registerParticles(RegisterParticleProvidersEvent event) {
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/com/altnoir/mia/compat/ponder/MiaPonder.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,8 @@ public String getModId() {
public void registerScenes(PonderSceneRegistrationHelper<ResourceLocation> helper) {
MiaPonderScenes.registerScenes(helper);
}

public static void register() {
PonderIndex.addPlugin(new MiaPonder());
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package com.altnoir.mia.compat.ponder;

public class MiaPonderRegistry {
public static void register() {
MiaPonder.register();
}
}
Loading