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

PlayerBucketFillEvent called even if bucket cannot be filled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • 3219-Spigot-b166a49-8c6d60c
    • Yes

      The current spigot PlayerBucketFillEvent is called even if the player does not actually fill up their bucket.

      You may reproduce this by right clicking a waterloggable block, such as stairs, that are not waterlogged at the time.

      A possible easy solution would be to simply ensure that the `dummyFluid` fetched prior to the event call is not empty. This would ensure that only non-air item results (e.g. water buckets) trigger the event.

            Unassigned Unassigned
            LynxPlay Bjarne Koll
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: