package draco18s.economy.inventory;
import draco18s.economy.EconBankAccounts;
import draco18s.economy.entities.EntityShop;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.IInventory;
import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemStack;
public class MySlot extends Slot {
public int sellprice = 0;
public MySlot(IInventory par1iInventory, int par2, int par3, int par4) {
super(par1iInventory, par2, par3, par4);
}
public boolean canTakeStack(EntityPlayer shopper)
{
return true;
}
public boolean isItemValid(ItemStack par1ItemStack)
{
return false; //returning false prevents the player from putting items into the slot
}
}