From b32de10cf3907e6b3b0f88f01379fe613af59ea7 Mon Sep 17 00:00:00 2001 From: gnembon <41132274+gnembon@users.noreply.github.com> Date: Wed, 18 Sep 2024 17:24:23 +0200 Subject: [PATCH] 24w38a --- gradle.properties | 2 +- src/main/java/carpet/helpers/RedstoneWireTurbo.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index 9b6a0bb09..34b784c4e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,7 +3,7 @@ org.gradle.jvmargs=-Xmx1G # Fabric Properties # check https://fabricmc.net/develop/ - minecraft_version=24w37a + minecraft_version=24w38a loader_version=0.16.5 jsr305_version=3.0.2 fabric_version=0.102.0+1.21 diff --git a/src/main/java/carpet/helpers/RedstoneWireTurbo.java b/src/main/java/carpet/helpers/RedstoneWireTurbo.java index 53bc31a26..57015ed0c 100644 --- a/src/main/java/carpet/helpers/RedstoneWireTurbo.java +++ b/src/main/java/carpet/helpers/RedstoneWireTurbo.java @@ -951,7 +951,7 @@ public void updateNeighborShapes(Level level, BlockPos pos, BlockState state) { BlockPos neighborPos = pos.relative(dir); BlockState neighborState = level.getBlockState(neighborPos); - BlockState newState = neighborState.updateShape(dir.getOpposite(), state, level, neighborPos, pos); + BlockState newState = neighborState.updateShape(level, level, neighborPos, dir.getOpposite(), pos, state, level.getRandom()); Block.updateOrDestroy(neighborState, newState, level, neighborPos, Block.UPDATE_CLIENTS); } }