else if index of event-slot is 13:
set {_melon} to 0
set {_melon} to amount of melon slice in player's inventory
if {_melon} > 0:
remove {_melon} of melon slice from player
play sound "block.note_block.pling" at volume 1 at pitch 2 to player
send "{@prefix} &aYou sold %{_melon}%x Melon Slices for %{@priceMelon}*{_melon}%$." to player
add {@priceMelon}*{_melon} to player's balance
else:
send "{@prefix} &cYou do not have Melon Slices to sell."
Same issue as with pumpkins this is the code affected.
Same issue as with pumpkins this is the code affected.