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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user