Skip to content

Commit

Permalink
fix(block): completion upstream patch
Browse files Browse the repository at this point in the history
  • Loading branch information
StarWishsama committed Feb 17, 2024
1 parent ec6e815 commit 61ce8fb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ public void onResult(SlimefunBlockData result) {
*/
@ParametersAreNonnullByDefault
private void checkForSensitiveBlocks(Block block, Integer count, boolean isDropItems) {
if (count >= Bukkit.getServer().getMaxChainedNeighborUpdates()) {
/**if (count >= Bukkit.getServer().getMaxChainedNeighborUpdates()) {
return;
}
Expand All @@ -375,6 +375,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 61ce8fb

Please sign in to comment.