Can't set item in input slot of Stonecutter Inventory #10621
Labels
status: accepted
Disputed bug is accepted as valid or Feature accepted as desired to be added.
type: bug
Something doesn't work as it was intended to.
version: 1.20.4
Game version 1.20.4
version: 1.20.5
Game version 1.20.5
version: 1.20.6
Game version 1.20.6
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);
}
The text was updated successfully, but these errors were encountered: