import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemStack;
public class DamageUpgradeSlot extends Slot {
public DamageUpgradeSlot(IInventory par1iInventory, int par2, int par3, int par4) {
super(par1iInventory, par2, par3, par4);
<BUG>}
public boolean isItemValid(ItemStack itemstack)</BUG>
{
if (itemstack.getItem() instanceof ItemDamageUpgrade) {
return true;

import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemStack;
public class DamageUpgradeSlot extends Slot {
public DamageUpgradeSlot(IInventory par1iInventory, int par2, int par3, int par4) {
super(par1iInventory, par2, par3, par4);
}
@Override
public boolean isItemValid(ItemStack itemstack)
{
if (itemstack.getItem() instanceof ItemDamageUpgrade) {
return true;
