Skip to content

Commit e0c9490

Browse files
authored
Merge branch 'Slimefun:master' into master
2 parents 2e564e3 + e339503 commit e0c9490

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners

src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/BlockListener.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,11 @@ private void checkForSensitiveBlockAbove(Player player, Block block, ItemStack i
303303
* @param count
304304
* The amount of times this has been recursively called
305305
*/
306+
// Disabled for now due to #4069 - Servers crashing due to this check
307+
// There is additionally a second bug with `getMaxChainedNeighborUpdates` not existing in 1.17
306308
@ParametersAreNonnullByDefault
307309
private void checkForSensitiveBlocks(Block block, Integer count, boolean isDropItems) {
310+
/*
308311
if (count >= Bukkit.getServer().getMaxChainedNeighborUpdates()) {
309312
return;
310313
}
@@ -326,6 +329,7 @@ private void checkForSensitiveBlocks(Block block, Integer count, boolean isDropI
326329
// Set the BlockData back: this makes it so containers and spawners drop correctly. This is a hacky fix.
327330
block.setBlockData(state.getBlockData(), false);
328331
state.update(true, false);
332+
*/
329333
}
330334

331335
/**

0 commit comments

Comments
 (0)