Skip to content

Commit 7c550a1

Browse files
committed
Fix fluidlogged incompatibility
1 parent 333147c commit 7c550a1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

common/src/main/java/org/embeddedt/modernfix/common/mixin/perf/chunk_meshing/RebuildTaskMixin.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@
55
import net.minecraft.core.BlockPos;
66
import net.minecraft.world.level.block.state.BlockState;
77
import org.embeddedt.modernfix.annotation.ClientOnlyMixin;
8+
import org.embeddedt.modernfix.annotation.RequiresMod;
89
import org.embeddedt.modernfix.util.blockpos.SectionBlockPosIterator;
910
import org.spongepowered.asm.mixin.Mixin;
1011
import org.spongepowered.asm.mixin.injection.At;
1112
import org.spongepowered.asm.mixin.injection.Redirect;
1213

1314
@Mixin(targets = { "net/minecraft/client/renderer/chunk/ChunkRenderDispatcher$RenderChunk$RebuildTask"}, priority = 2000)
1415
@ClientOnlyMixin
16+
@RequiresMod("!fluidlogged")
1517
public class RebuildTaskMixin {
1618
/**
1719
* @author embeddedt

0 commit comments

Comments
 (0)