InventoryClickEvent returns wrong SlotType

XMLWordPrintable

      When checking for SlotType on InventoryClicks only slots 5-8 of the Quickbar return SlotType.QUICKBAR. Slots 0-4 return SlotType.CONTAINER.

      Only occurs on custom or block inventorys like chests and furnaces.

      CCCCCXXXX

      C = CONTAINER
      X = QUICKBAR

      Console output
      
      [00:29:59 INFO]: 0 - CONTAINER
      [00:30:00 INFO]: 1 - CONTAINER
      [00:30:00 INFO]: 2 - CONTAINER
      [00:30:01 INFO]: 3 - CONTAINER
      [00:30:01 INFO]: 4 - CONTAINER
      [00:30:01 INFO]: 5 - QUICKBAR
      [00:30:02 INFO]: 6 - QUICKBAR
      [00:30:02 INFO]: 7 - QUICKBAR
      [00:30:03 INFO]: 8 - QUICKBAR

            Assignee:
            Unassigned
            Reporter:
            Philipp
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: