Updated inventories to a has-a relationship.

Added PlayerInventory interface with playeronly methods.
Add equals to ItemStack.

By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
Bukkit/Spigot
2011-01-09 18:21:31 +01:00
parent f81c44fbba
commit f95c139dd6
6 changed files with 237 additions and 50 deletions

View File

@@ -5,5 +5,11 @@ package org.bukkit;
*
* @author sk89q
*/
public interface StorageMinecart extends Minecart, Inventory {
public interface StorageMinecart extends Minecart {
/**
* Return the inventory object for this StorageMinecart.
*
* @return The inventory for this Minecart
*/
public Inventory getInventory();
}