High performance Spigot fork that aims to fix gameplay and mechanics inconsistencies
Go to file
Bukkit/Spigot 982f31e75c Clarify functionality in Inventory. Fixes BUKKIT-3097
Mainly javadoc changes to be specific in functionality and outcomes. This is
mixed with specifying that null Material should throw IllegalArgumentException
instead of the previous undefined NullPointerException.

Included is a clarification on how contains(ItemStack, int) works, and a new
method containsAtLeast(ItemStack, int) for counting the number of a specific
item.

By: Wesley Wolfe <weswolf@aol.com>
2012-12-17 16:09:56 -06:00
paper-api Clarify functionality in Inventory. Fixes BUKKIT-3097 2012-12-17 16:09:56 -06:00