Dropt

Dropt

3M Downloads

RuleDrop's listed after empty RuleDrops don't get parsed

codetaylor opened this issue ยท 0 comments

commented
{
  "rules": [
    {
      "debug": true,
      "match": {
        "blocks": {
          "blocks": [
            "minecraft:tallgrass:1"
          ]
        }
      },
      "drops": [
        {},
        {
          "item": {
            "items": [
              "survivalist:plant_fibres"
            ],
            "quantity": {
              "min": 1,
              "max": 3
            }
          }
        }
      ]
    }
  ]
}
[DEBUG] Parsing rule 0 in file plant_fibres.json
[DEBUG] [PARSE] Parsed block match: minecraft:tallgrass:1
[DEBUG] [PARSE] Found registered block: Block{minecraft:tallgrass}
[DEBUG] [PARSE] Added block matcher: BlockMatcher{domain='minecraft', path='tallgrass', meta=1, metas=[]}
[DEBUG] [PARSE] No item matches defined, skipped parsing item match
[DEBUG] [PARSE] Drop item.items object not defined or empty in IRuleDrop at index 0, skipped parsing drop item

There should be another entry parsed after the last line in the log.