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

LootTable.fillInventory() is not considered a plugin-issued event.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • None
    • Java 1.19.2 Latest Release - Spigot Version: spigot-api-1.19.2-R0.1-SNAPSHOT

    • 1.19.2
    • Yes

    Description

      Invoking the LootTable.fillInventory() method will trigger a LootGenerateEvent, however, the event's isPlugin() method will return false. According to Spigot documentation, the isPlugin() method should return true for an invocation of LootTable.fillInventory(). For more context, see link title

      Attachments

        Activity

          People

            Doc Doc
            Jpolt Ranee Punjab
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: