Skip to content
This repository has been archived by the owner on Jun 22, 2024. It is now read-only.

Commit

Permalink
temporarily diable senstive blocks check
Browse files Browse the repository at this point in the history
  • Loading branch information
J3fftw1 committed Jan 3, 2024
1 parent 4d710fa commit e82b868
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,10 @@ 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
@ParametersAreNonnullByDefault
private void checkForSensitiveBlocks(Block block, Integer count, boolean isDropItems) {
/*
if (count >= Bukkit.getServer().getMaxChainedNeighborUpdates()) {
return;
}
Expand All @@ -326,6 +328,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 e82b868

Please sign in to comment.