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

CauldronLevelChangeEvent is not fired correctly when dripstone fills the cauldron.

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None
    • Windows 10
      Java 16.0.1 64bit

    • This server is running CraftBukkit version 3170-Spigot-a483d2c-ec116f6 (MC: 1.17) (Implementing API version 1.17-R0.1-SNAPSHOT)
    • Yes

    Description

      The CauldronLevelChangeEvent is not fired when dripstone fills the cauldron with lava. For water, the event does not fire for the first level, but it does for the other levels.

      Code used:

      @EventHandler 
      public void onCauldronFill(CauldronLevelChangeEvent e) { 
         ChangeReason cs = e.getReason(); 
         Bukkit.broadcastMessage("CauldronLevelChangeEvent: Reason=" + cs); 
      }
      

       

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: