[Bleeding] Implemented Inventory.{get,set}MaxStackSize(). Addresses BUKKIT-1076
- Custom inventories also respect this setting now.
This commit is contained in:
committed by
EvilSeph
parent
66e067f373
commit
5c8fd4995f
@@ -34,13 +34,17 @@ public interface IInventory {
|
||||
|
||||
// CraftBukkit start
|
||||
ItemStack[] getContents();
|
||||
|
||||
|
||||
void onOpen(CraftHumanEntity who);
|
||||
|
||||
|
||||
void onClose(CraftHumanEntity who);
|
||||
|
||||
|
||||
List<HumanEntity> getViewers();
|
||||
|
||||
|
||||
InventoryHolder getOwner();
|
||||
|
||||
void setMaxStackSize(int size);
|
||||
|
||||
int MAX_STACK = 64;
|
||||
//CraftBukkit end
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user