Skip to content

Commit

Permalink
fix: Fix compile error on NeoForge
Browse files Browse the repository at this point in the history
  • Loading branch information
BlayTheNinth committed Feb 18, 2025
1 parent 5583e82 commit f983e46
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import net.minecraft.world.level.Level;
import net.minecraft.world.level.block.state.BlockState;
import net.minecraft.world.phys.BlockHitResult;
import net.minecraftforge.fml.InterModComms;
import net.neoforged.fml.InterModComms;
import org.jetbrains.annotations.Nullable;

import java.util.function.Function;
Expand All @@ -35,7 +35,7 @@ public Void apply(@Nullable ITheOneProbe top) {

private static class BalmProbeInfoProvider implements IProbeInfoProvider {

private static final ResourceLocation ID = new ResourceLocation("balm", "top");
private static final ResourceLocation ID = ResourceLocation.fromNamespaceAndPath("balm", "top");

@Override
public ResourceLocation getID() {
Expand Down

0 comments on commit f983e46

Please sign in to comment.