From eb2557d9acfb64a4f55d91f28a919991e0ac24fc Mon Sep 17 00:00:00 2001 From: Mariell Date: Mon, 5 Oct 2020 18:03:41 +0200 Subject: [PATCH] Add a missing return in Eigencraft redstone (#4621) --- Spigot-Server-Patches/Optimize-redstone-algorithm.patch | 1 + 1 file changed, 1 insertion(+) diff --git a/Spigot-Server-Patches/Optimize-redstone-algorithm.patch b/Spigot-Server-Patches/Optimize-redstone-algorithm.patch index cf69f1e2d..8dca8f6f5 100644 --- a/Spigot-Server-Patches/Optimize-redstone-algorithm.patch +++ b/Spigot-Server-Patches/Optimize-redstone-algorithm.patch @@ -995,6 +995,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + private void updateSurroundingRedstone(World worldIn, BlockPosition pos, IBlockData state, BlockPosition source) { + if (worldIn.paperConfig.useEigencraftRedstone) { + turbo.updateSurroundingRedstone(worldIn, pos, state, source); ++ return; + } + a(worldIn, pos, state); + }