[SPIGOT-7445] InventoryType.SMITHING not returning smithing table Created: 30/Jul/23  Updated: 25/Dec/24  Resolved: 30/Jul/23

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Shane Bee Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None

Attachments: PNG File Screenshot 2023-07-30 at 1.13.56 PM-1.png     PNG File Screenshot 2023-07-30 at 1.14.08 PM-1.png    
Version: CraftBukkit version 3842-Spigot-b41c46d-db70bd6
Plugin: Skript
Guidelines Read: Yes

 Description   

Correct me if I'm wrong, but:
`case.SMITHING` is missing here?
https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/browse/src/main/java/org/bukkit/craftbukkit/inventory/CraftContainer.java#157

When opening a new InventoryType.SMITHING to player it opens a 9x3 generic inventory named "Upgrade Gear"
Opening an InventoryType.SMITHING_NEW does however work as expected.

Sorry I don't have code to test, I was helping someone with something in Skript when I noticed this issue.



 Comments   
Comment by md_5 [ 30/Jul/23 ]

Thanks, I think that's correct

Generated at Sat Dec 13 15:18:41 UTC 2025 using Jira 10.3.13#10030013-sha1:56dd970ae30ebfeda3a697d25be1f6388b68a422.