diff --git a/gradle.properties b/gradle.properties index 4d817d4e5..37755fe62 100644 --- a/gradle.properties +++ b/gradle.properties @@ -7,4 +7,4 @@ ic2_version=2.5.5-ex19 version_major=5 version_minor=0 -version_patch=14 +version_patch=15 diff --git a/src/main/java/forestry/core/items/ItemWrench.java b/src/main/java/forestry/core/items/ItemWrench.java index df249f46e..61cfa8d6a 100755 --- a/src/main/java/forestry/core/items/ItemWrench.java +++ b/src/main/java/forestry/core/items/ItemWrench.java @@ -27,10 +27,10 @@ public class ItemWrench extends ItemForestry {//implements IToolWrench { } @Override - public EnumActionResult onItemUseFirst(ItemStack stack, EntityPlayer player, World world, BlockPos pos, EnumFacing side, float hitX, float hitY, float hitZ, EnumHand hand) { - Block block = world.getBlockState(pos).getBlock(); - if (block.rotateBlock(world, pos, side)) { - player.swingArm(hand); + public EnumActionResult onItemUse(ItemStack stack, EntityPlayer playerIn, World worldIn, BlockPos pos, EnumHand hand, EnumFacing facing, float hitX, float hitY, float hitZ) { + Block block = worldIn.getBlockState(pos).getBlock(); + if (block.rotateBlock(worldIn, pos, facing)) { + playerIn.swingArm(hand); return EnumActionResult.SUCCESS; } return EnumActionResult.FAIL;