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

CraftLootTable / LootTable contains unused argument for fillInventory

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • None
    • This server is running CraftBukkit version 3339-Spigot-3c40a6c-581df18 (MC: 1.18) (Implementing API version 1.18-R0.1-SNAPSHOT)
    • Yes

    Description

      Currently the documentation and api of the LootTable#fillInventory requires a java.util.Random as parameter. However that Random is never used which makes me question why do I have to provide a Non Null Random if the random itself is never used.

      Is that intended or did something change here over time?

      See also here in documentation

      Attachments

        Activity

          People

            Doc Doc
            Lauriichen Lauriichan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: