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

The NBT part of testforblock command didn't work correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • None
    • None
    • Spigot 1.8.8 5f38d38-18fbb24

      The testforblock command can test the block without NBT tag like "/testforblock ~ ~1 ~ minecraft:hopper" will return true by comparator. However, when you add any NBT tags like "/testforblock ~ ~1 ~ minecraft:hopper -1 {Items:[

      {Slot:0,id:bed,Count:1}

      ]}" it nolonger work any more.

      This issue seems effect other commands like testfor .etc. NBT tag can be applied when setblock or summon something but can not be detected correctly.

            Unassigned Unassigned
            reezhu Weiyuan Zhu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: