Added dispenser event.

By: sk89q <the.sk89q@gmail.com>
This commit is contained in:
Bukkit/Spigot
2011-05-08 02:56:38 -07:00
parent e7d4bff770
commit e40b7ab7c1
5 changed files with 103 additions and 0 deletions

View File

@@ -194,6 +194,11 @@ public class ItemStack {
return item.getAmount() == getAmount() && item.getTypeId() == getTypeId();
}
@Override
public ItemStack clone() {
return new ItemStack(type, amount, durability);
}
@Override
public int hashCode() {
int hash = 11;