Initial Inventory stuff, read only, no hooks. Only implemented for the StorageMinecart

By: Erik Broes <erikbroes@ripe.net>
This commit is contained in:
Bukkit/Spigot
2011-01-05 01:00:06 +01:00
parent f7d795843a
commit 2c72e8e9d5
4 changed files with 108 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ public class ItemStack {
* @param type New type to set the items in this stack to
*/
public void setType(Material type) {
this.type = type.getID();
setTypeID(type.getID());
}
/**