Skip to content

Commit

Permalink
Merge branch 'Slimefun:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
J3fftw1 committed Jan 3, 2024
2 parents 2e564e3 + e339503 commit e0c9490
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -303,8 +303,11 @@ private void checkForSensitiveBlockAbove(Player player, Block block, ItemStack i
* @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;
}
Expand All @@ -326,6 +329,7 @@ private void checkForSensitiveBlocks(Block block, Integer count, boolean isDropI
// 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);
*/
}

/**
Expand Down

0 comments on commit e0c9490

Please sign in to comment.