Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-7202

Effect.IRON_DOOR_TOGGLE not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • 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:

      1. Start a server with the attached plugin.
      2. Use creative mode for convenience.
      3. Place an iron door on the ground.
      4. Place a stone button the the ground next to the iron door.
      5. Right-click on the door and note the door operates but the sound DOES NOT play.
      6. 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.

            Unassigned Unassigned
            Bobcat00 Bobcat00
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: