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

Result of /loot does not match vanilla for items with count 0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • None
    • This server is running CraftBukkit version 4055-Spigot-e9ec548-ee685bd (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT)
    • Yes

      When using execute store result on a loot command, the expected value is different from vanilla, when the dropped items include items with a count of 0. This is currently breaking some of our data packs which rely on this behavior.

      How to reproduce:

      1. Download the attached data pack loottable_result_test.zip, which drops 5 items with a count of 0
      2. Run /minecraft:reload in the game
      3. A message will be printed showing the expected and observed result values

            Unassigned Unassigned
            misode Misode
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: