Items in a Grindstone Inventory not showing on the client

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Minor
    • None
    • Affects Version/s: None
    • git-Spigot-56f8471-7554e08
    • Yes

      When you create a Grindstone Inventory and put items inside, the items do not show on the client. However, when using inventory.getItem() the item is returned.

       

      Inventory inventory = Bukkit.createInventory(player, InventoryType.GRINDSTONE);
      inventory.setItem(0, new ItemStack(Material.DIAMOND_SWORD));
      player.openInventory(inventory);
      

      Running the following code

      inventory.getItem(0)
      

      Returns

      ItemStack{DIAMOND_SWORD x 1}
      

       

      Here is a minimal plugin to reproduce the issue

            Assignee:
            Unassigned
            Reporter:
            Koen Willemse
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: