Fix most of the errors, still some to go.

This commit is contained in:
Raoul Van den Berge
2016-03-19 14:32:25 +01:00
parent f5e24fcbb6
commit 91b6a340e6
63 changed files with 179 additions and 196 deletions

View File

@@ -1,6 +1,7 @@
package storagecraft.container;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.ClickType;
import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemStack;
import storagecraft.StorageCraftItems;
@@ -71,13 +72,13 @@ public class ContainerGrid extends ContainerBase
}
@Override
public ItemStack slotClick(int id, int clickedButton, int mode, EntityPlayer player)
public ItemStack func_184996_a(int id, int clickedButton, ClickType mode, EntityPlayer player)
{
if (id >= 0 && getSlot(id) instanceof SlotDisabled)
{
grid.onPatternCreate();
}
return super.slotClick(id, clickedButton, mode, player);
return super.func_184996_a(id, clickedButton, mode, player);
}
}