GlowstoneMC / Glowstone

A fast, customizable and compatible open source server for Minecraft: Java Edition
https://glowstone.net
Other
1.9k stars 273 forks source link

Anvil sound fix on several blocks #827

Closed hugokerstens closed 6 years ago

hugokerstens commented 6 years ago

This PR fixes the sound when an anvil lands on several blocks:

DEAD_BUSH: LONG_GRASS: DOUBLE_PLANT:

I moved the code that produces the sound to the place block function, so that it would called everytime an anvil is placed when it lands.