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