Skip to content

Commit

Permalink
Fix #4767
Browse files Browse the repository at this point in the history
  • Loading branch information
Vazkii committed Apr 15, 2024
1 parent 2205306 commit a540ee0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ private boolean rightClickPetal(Player player, Level level, BlockPos pos, BlockS

boolean ret = tryPlacePetal(player, level, pos, state, direction, hand, stack);
if(ret) {
stack.shrink(1);
if(!player.isCreative())
stack.shrink(1);

level.playSound(player, pos, SoundEvents.PINK_PETALS_PLACE, SoundSource.PLAYERS);
}

Expand Down

0 comments on commit a540ee0

Please sign in to comment.