Skip to content

Commit

Permalink
Fix incorrect sound when restoring blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
WizardCM committed Nov 24, 2024
1 parent 08dea57 commit 64ce772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/im/wma/dev/creepair/Creepair.java
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ public void run() {
continue;
}

block.block.getLocation().getWorld().playEffect(block.block.getLocation(), Effect.STEP_SOUND, 1);
block.block.getLocation().getWorld().playEffect(block.block.getLocation(), Effect.STEP_SOUND, block.original);
block.block.setType(block.original);
// Make damage/data values (different leaves and such) work.
block.block.setBlockData(block.originalData);
Expand Down

0 comments on commit 64ce772

Please sign in to comment.