Item gets used when right clicking on a saddled pig
Resolved
Fixed
12
When hold an item such as a splash potion or ender pearl, right clicking on a pig will use that item and make you get on the pig. Same thing for getting off.
The following is based on a decompiled version of Minecraft 1.9 using MCP 9.24 beta.
The reason for this is that the method net.minecraft.entity.passive.EntityPig.func_184645_a(EntityPlayer, EnumHand, ItemStack) always returns for the client that it did not successfully interacted with the pig. Instead it should return that it successfully interacted with the pig but only start riding the pig server-side.
Confirmed in 1.4.5.