Skip to content

Commit e22afe6

Browse files
committed
Fix visibility
1 parent 93f946f commit e22afe6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

common/src/main/java/dev/ryanhcode/sable/mixin/prevent_overgrowth/VineBlockMixin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
public class VineBlockMixin {
1717

1818
@WrapOperation(method = "randomTick", at = @At(value = "INVOKE", target = "Lnet/minecraft/server/level/ServerLevel;setBlock(Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;I)Z"), require = 0)
19-
boolean stopSpreadBeyondSubLevel(final ServerLevel level, final BlockPos spreadPos, final BlockState blockState, final int flags, final Operation<Boolean> original, @Local(argsOnly = true) final BlockPos vinePos) {
19+
public boolean stopSpreadBeyondSubLevel(final ServerLevel level, final BlockPos spreadPos, final BlockState blockState, final int flags, final Operation<Boolean> original, @Local(argsOnly = true) final BlockPos vinePos) {
2020
final SubLevel subLevel = Sable.HELPER.getContaining(level, vinePos);
2121
if (subLevel != null && !subLevel.getPlot().getBoundingBox().contains(spreadPos.getX(), spreadPos.getY(), spreadPos.getZ())) {
2222
return true;

0 commit comments

Comments
 (0)