-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor
-
None
-
Affects Version/s: None
-
Environment:
Windows 10
-
3618-Spigot-d90018e-6459934 (MC: 1.19.3)
-
IronDoors
-
Yes
The plugin IronDoors allows users to open iron doors and trap doors by right clicking on the door / trap door. It plays the appropriate sound effect at the same time. With 1.19.3, the sound doesn't play.
To reproduce:
- Start a server with the attached plugin.
- Use creative mode for convenience.
- Place an iron door on the ground.
- Place a stone button the the ground next to the iron door.
- Right-click on the door and note the door operates but the sound DOES NOT play.
- Right-click on the button and note the door operates and the sound DOES play.
The plugin uses the following code (separately based on the block) to play the sound effects:
block.getWorld().playEffect(block.getLocation(), Effect.IRON_DOOR_TOGGLE, 0); block.getWorld().playEffect(block.getLocation(), Effect.IRON_TRAPDOOR_TOGGLE, 0);
The plugin works on 1.19.2.