Fix build

This commit is contained in:
modmuss50 2017-04-13 11:26:16 +01:00
parent 7013a7021d
commit 83e904f464
No known key found for this signature in database
GPG key ID: 773D17BE8BF49C82

View file

@ -27,6 +27,7 @@ package techreborn.items;
import net.minecraft.client.Minecraft;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.Container;
import net.minecraft.inventory.IInventory;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
@ -203,7 +204,7 @@ public class ItemUpgrades extends ItemTRNoDestroy implements IUpgrade {
}
@Override
public void handleRightClick(TileEntity tile, ItemStack stack, BuiltContainer container, int slotID) {
public void handleRightClick(TileEntity tile, ItemStack stack, Container container, int slotID) {
if(tile.getWorld().isRemote){
if(stack.getItemDamage() == 4 || stack.getItemDamage() == 5){
//TODO use the full gui handler