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

Error in spawn for loot tables

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • None
    • CraftBukkit version 3450-Spigot-fb0dd5f-4ed5af5 (MC: 1.18.2) (Implementing API version 1.18.2-R0.1-SNAPSHOT)
    • Yes

      Currently in NMS exists a validation for avoid make a Item Entity can set a empty ItemStack.

      this validation causes inconsistences with loot tables in spawn cases, where for example if you try to spawn a loot table of vanilla for chests you throw a error because the chest has empty itemstacks.

       

      Command used in test. 

      Note: the loot its random then not in all cases return the error.

      /loot spawn ~ ~ ~ loot minecraft:chests/abandoned_mineshaft 

       

      Expected:

      The command spawn all the content of this loot

       

      Currently:

      The command throw a error when detect a empty itemstack.

            Doc Doc
            Doc Doc
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: