Open HarpanW opened 7 months ago
Can reproduce this on 1.20.5 with commit https://github.com/PaperMC/Paper/commit/8f7ac62905dbeeef1ad000a44c7dd035d4e115b0
Might be hard coded by the client, cant get any other crafting stations to display items except for ones like furnace and brewing stand (that actually have containers on the server)
Expected behavior
Stone in stonecutter input slot
Observed/Actual behavior
No item in stonecutter input slot
Steps/models to reproduce
public void openStonecutterGUI(Player player) { Inventory inventory = Bukkit.createInventory(null, InventoryType.STONECUTTER, "text"); ItemStack stone = new ItemStack(Material.STONE); inventory.setItem(0, stone); player.openInventory(inventory); }
Plugin and Datapack List
no additional
Paper version
This server is running Paper version git-Paper-334 (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT) (Git: 47b2c18)\nYou are 162 version(s) behind\nDownload the new version at: https://papermc.io/downloads/paper
Other
i have also tried setting the item after the inventory is opened, same issue:
public void openStonecutterGUI(Player player) { Inventory inventory = Bukkit.createInventory(null, InventoryType.STONECUTTER, "text"); ItemStack stone = new ItemStack(Material.STONE); player.openInventory(inventory); inventory.setItem(0, stone); }