Skip to content

Commit

Permalink
fix broken remap=false
Browse files Browse the repository at this point in the history
  • Loading branch information
FalsePattern committed Feb 2, 2025
1 parent 31e2def commit fa8f38d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@
import net.minecraftforge.fluids.BlockFluidBase;
import net.minecraftforge.fluids.RenderBlockFluid;

@Mixin(value = RenderBlockFluid.class,
remap = false)
@Mixin(value = RenderBlockFluid.class)
public abstract class RenderBlockFluidMixin {
@Redirect(method = "getFluidHeightForRender",
at = @At(value = "INVOKE",
Expand All @@ -56,6 +55,7 @@ private int fluidHeightGetBlockMeta(IBlockAccess world, int x, int y, int z, @Lo
@Redirect(method = "getFluidHeightForRender",
at = @At(value = "INVOKE",
target = "Lnet/minecraftforge/fluids/BlockFluidBase;getQuantaPercentage(Lnet/minecraft/world/IBlockAccess;III)F"),
remap = false,
require = 1)
private float fluidHeightQuanta(BlockFluidBase instance, IBlockAccess world, int x, int y, int z) {
if (((FLBlockAccess)world).fl$isFluidLogged(x, y, z, null)) {
Expand Down

0 comments on commit fa8f38d

Please sign in to comment.