From df6722e6b4e1b6e5b1a3362999185959f74a2863 Mon Sep 17 00:00:00 2001 From: Bjarne Koll Date: Mon, 25 Nov 2024 00:46:05 +0100 Subject: [PATCH] Fix compile issues --- .../server/0732-Add-source-block-to-BlockPhysicsEvent.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/server/0732-Add-source-block-to-BlockPhysicsEvent.patch b/patches/server/0732-Add-source-block-to-BlockPhysicsEvent.patch index 5de02e3231f4..91adea4a23a8 100644 --- a/patches/server/0732-Add-source-block-to-BlockPhysicsEvent.patch +++ b/patches/server/0732-Add-source-block-to-BlockPhysicsEvent.patch @@ -5,7 +5,7 @@ Subject: [PATCH] Add source block to BlockPhysicsEvent diff --git a/src/main/java/net/minecraft/world/level/redstone/CollectingNeighborUpdater.java b/src/main/java/net/minecraft/world/level/redstone/CollectingNeighborUpdater.java -index 5821c802ec880501df025fcd3fbbd98242ed952c..e03fb042652367c82aa143d700d432a9a717a294 100644 +index 5821c802ec880501df025fcd3fbbd98242ed952c..3a95e3236eafd14baed035e53503b58c2e21b68a 100644 --- a/src/main/java/net/minecraft/world/level/redstone/CollectingNeighborUpdater.java +++ b/src/main/java/net/minecraft/world/level/redstone/CollectingNeighborUpdater.java @@ -135,7 +135,7 @@ public class CollectingNeighborUpdater implements NeighborUpdater { @@ -13,7 +13,7 @@ index 5821c802ec880501df025fcd3fbbd98242ed952c..e03fb042652367c82aa143d700d432a9 } - NeighborUpdater.executeUpdate(world, blockState, blockPos, this.sourceBlock, orientation, false); -+ NeighborUpdater.executeUpdate(world, blockState, blockPos, this.sourceBlock, this.sourcePos, orientation, false); // Paper - Add source block to BlockPhysicsEvent ++ NeighborUpdater.executeUpdate(world, blockState, blockPos, this.sourceBlock, orientation, false, this.sourcePos); // Paper - Add source block to BlockPhysicsEvent if (this.idx < NeighborUpdater.UPDATE_ORDER.length && NeighborUpdater.UPDATE_ORDER[this.idx] == this.skipDirection) { this.idx++; }