Skip to content

Commit 26998e9

Browse files
committed
Mark fluidState redirect as optional for old Lithium/VMP versions
1 parent f76ca04 commit 26998e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/main/java/org/embeddedt/modernfix/common/mixin/perf/reduce_blockstate_cache_rebuilds/BlockStateBaseMixin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ private BlockBehaviour.BlockStateBase.Cache dynamicCacheGen(BlockBehaviour.Block
7070
opcode = Opcodes.GETFIELD,
7171
target = "Lnet/minecraft/world/level/block/state/BlockBehaviour$BlockStateBase;fluidState:Lnet/minecraft/world/level/material/FluidState;",
7272
ordinal = 0
73-
))
73+
), require = 0)
7474
private FluidState genCacheBeforeGettingFluid(BlockBehaviour.BlockStateBase base) {
7575
generateCache(base);
7676
return this.fluidState;

0 commit comments

Comments
 (0)