Updated inventories to a has-a relationship.

Added PlayerInventory interface with playeronly methods.
Add equals to ItemStack.
This commit is contained in:
Erik Broes
2011-01-09 18:21:31 +01:00
parent b1cab8c5ee
commit 9498644672
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();
}