Skip to content

Commit

Permalink
fix: Fix compile error on Forge
Browse files Browse the repository at this point in the history
  • Loading branch information
BlayTheNinth committed Sep 26, 2023
1 parent e1bfbad commit acd3def
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import net.minecraftforge.fml.ModLoadingContext;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext;
import net.minecraftforge.network.NetworkConstants;

@Mod(CraftingTweaks.MOD_ID)
public class ForgeCraftingTweaks {
Expand All @@ -18,7 +17,7 @@ public ForgeCraftingTweaks() {
DistExecutor.runWhenOn(Dist.CLIENT, () -> () -> BalmClient.initialize(CraftingTweaks.MOD_ID, CraftingTweaksClient::initialize));

FMLJavaModLoadingContext.get().getModEventBus().addListener(IMCHandler::processInterMod);
ModLoadingContext.get().registerExtensionPoint(IExtensionPoint.DisplayTest.class, () -> new IExtensionPoint.DisplayTest(() -> NetworkConstants.IGNORESERVERONLY, (a, b) -> true));
ModLoadingContext.get().registerExtensionPoint(IExtensionPoint.DisplayTest.class, () -> new IExtensionPoint.DisplayTest(() -> IExtensionPoint.DisplayTest.IGNORESERVERONLY, (a, b) -> true));
}

}

0 comments on commit acd3def

Please sign in to comment.