diff options
author | Wesley Wolfe <weswolf@aol.com> | 2013-08-06 17:11:30 -0500 |
---|---|---|
committer | Wesley Wolfe <weswolf@aol.com> | 2013-08-06 17:11:30 -0500 |
commit | 066fcfe79fe4fbb5f4540be1472f8853f957d926 (patch) | |
tree | 91676951663dad51b5485b2183aafaaefca0dde2 /src/test/java | |
parent | 5e8dd7d57d0615645782d6e1f190e1d9b83e982c (diff) | |
download | craftbukkit-066fcfe79fe4fbb5f4540be1472f8853f957d926.tar craftbukkit-066fcfe79fe4fbb5f4540be1472f8853f957d926.tar.gz craftbukkit-066fcfe79fe4fbb5f4540be1472f8853f957d926.tar.lz craftbukkit-066fcfe79fe4fbb5f4540be1472f8853f957d926.tar.xz craftbukkit-066fcfe79fe4fbb5f4540be1472f8853f957d926.zip |
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.
Diffstat (limited to 'src/test/java')
0 files changed, 0 insertions, 0 deletions