-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
None
-
[09:21:07 INFO]: This server is running CraftBukkit version git-Spigot-5f38d38-18fbb24 (MC: 1.8.8) (Implementing API version 1.8.8-R0.1-SNAPSHOT)
When I cancel the block place event, players near the cancelled placement still hear the block place sound even though the block isn't actually placed. This isn't true for cancelled block _break _events. To reproduce, I used two different accounts logged in from the same pc, and disabled the sound on the client which is actually placing the block. I could still hear the sound.
@EventHandler(priority = EventPriority.HIGHEST)
void onPlayerBuild(BlockPlaceEvent event)
{
event.setCancelled(true);
}