set wrench stack size to 1

This commit is contained in:
gigabit101 2016-03-05 22:56:52 +00:00
parent 382c38ed10
commit f1cbfc471b

View file

@ -32,10 +32,9 @@ public class ItemWrench extends ItemTR implements ITexturedItem {
public ItemWrench() {
setCreativeTab(TechRebornCreativeTabMisc.instance);
setUnlocalizedName("techreborn.wrench");
setMaxStackSize(1);
}
@Override
public boolean onItemUse(ItemStack stack, EntityPlayer player, World world, BlockPos pos, EnumFacing side, float hitX, float hitY, float hitZ) {
if(world.isAirBlock(pos) || !player.isSneaking()){