[SPIGOT-4389] Opening an inventory with an empty title crashes the client Created: 22/Sep/18  Updated: 23/Sep/18  Resolved: 23/Sep/18

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

Type: Bug Priority: Minor
Reporter: Fluglow Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: Inventory, crash

Version: git-Spigot-68acb93-65bb2d0 (MC: 1.13.1) (Implementing API version 1.13.1-R0.1-SNAPSHOT)
Guidelines Read: Yes

 Description   

Creating and opening an inventory with an empty title crashes the client.

To reproduce, simply run the following code:

player.openInventory(Bukkit.createInventory(null, InventoryType.CHEST, "");

The client will crash with the error 'The game crashed whilst rendering screen'.


Generated at Fri Mar 14 09:44:41 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.