Added dispenser event.

This commit is contained in:
sk89q
2011-05-08 02:56:38 -07:00
parent b09635228e
commit 2406a4496d
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;