High performance Spigot fork that aims to fix gameplay and mechanics inconsistencies
Go to file
CraftBukkit/Spigot 33c7445582 Validate title for custom inventories. Fixes BUKKIT-4616, BUKKIT-4663
Custom inventories currently do not validate the titles provided. Null values
cause NPEs when writing packets. Values longer than 32 characters
disconnect clients.

This change throws and IllegalArgumentException for null titles or titles
longer than 32 characters.

By: Wesley Wolfe <weswolf@aol.com>
2013-08-06 17:11:30 -05:00
paper-server Validate title for custom inventories. Fixes BUKKIT-4616, BUKKIT-4663 2013-08-06 17:11:30 -05:00