Skip to content

Commit

Permalink
Location shift Y down by 0.125
Browse files Browse the repository at this point in the history
  • Loading branch information
Lildirt committed Jul 26, 2024
1 parent 244cde8 commit 7ed9e5c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ public void onBlockBreak(BlockBreakEvent e) {
Block block = chevent.getBlock();
block.setType(Material.AIR);
Location loc = block.getLocation();
loc.subtract(0.0, 0.125, 0.0);
if(chevent.isDropItems()) {
for(MCItemStack item : bbe.getDrops()) {
block.getWorld().dropItemNaturally(loc, (ItemStack) item.getHandle());
Expand Down

0 comments on commit 7ed9e5c

Please sign in to comment.