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

Server#createInventory(InventoryHolder,InventoryType) doesn't set the InventoryHolder for certain inventory types


    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • java version "10" 2018-03-20
      Java(TM) SE Runtime Environment 18.3 (build 10+46)
      Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10+46, mixed mode)

    • [11:53:48] [Server thread/INFO]: This server is running CraftBukkit version git-Spigot-2b0e71c-7c341e9 (MC: 1.13) (Implementing API version 1.13-R0.1-SNAPSHOT) [11:53:48] [Server thread/INFO]: You are running the latest version
    • Yes

      Server#createInventory(InventoryHolder, InventoryType) doesn't set the inventory's holder as returned by Inventory#getHolder() for inventory types BEACON, BREWING, DISPENSER, DROPPER, FURNACE and HOPPER. For these inventory types the holder is always null.

      This used to work in 1.12.2


            Unassigned Unassigned
            Jannyboy11 Jan Boerman
            1 Vote for this issue
            8 Start watching this issue