diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/BlockListener.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/BlockListener.java index 1db923beb..c214c33a2 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/BlockListener.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/BlockListener.java @@ -303,8 +303,11 @@ public class BlockListener implements Listener { * @param count * The amount of times this has been recursively called */ + // Disabled for now due to #4069 - Servers crashing due to this check + // There is additionally a second bug with `getMaxChainedNeighborUpdates` not existing in 1.17 @ParametersAreNonnullByDefault private void checkForSensitiveBlocks(Block block, Integer count, boolean isDropItems) { + /* if (count >= Bukkit.getServer().getMaxChainedNeighborUpdates()) { return; } @@ -326,6 +329,7 @@ public class BlockListener implements Listener { // Set the BlockData back: this makes it so containers and spawners drop correctly. This is a hacky fix. block.setBlockData(state.getBlockData(), false); state.update(true, false); + */ } /**