13
0
geforkt von Mirrors/Paper
Datei suchen
CraftBukkit/Spigot 9aa9b8775a Clarify functionality in CraftInventory. Fixes BUKKIT-3097
Changes some NPEs to IllegalArgumentExceptions for exception consistency.

Contains(ItemStack, int) correctly calculates number of ItemStacks.

Adds a containsAtLeast(ItemStack, int) for finding a combined amount of a
single similar ItemStack.

Makes some utility methods private to prevent ambiguity in use.

By: Wesley Wolfe <weswolf@aol.com>
2012-12-17 16:32:52 -06:00
paper-server Clarify functionality in CraftInventory. Fixes BUKKIT-3097 2012-12-17 16:32:52 -06:00