diff --git a/src/main/java/ru/wowhcb/towel/items/ItemTowel.java b/src/main/java/ru/wowhcb/towel/items/ItemTowel.java index ec112dd..ab6f1c4 100644 --- a/src/main/java/ru/wowhcb/towel/items/ItemTowel.java +++ b/src/main/java/ru/wowhcb/towel/items/ItemTowel.java @@ -64,6 +64,7 @@ public EnumAction getItemUseAction(ItemStack stack) { /** * Called when the equipped item is right clicked. */ + @Override public ActionResult onItemRightClick(World worldIn, EntityPlayer playerIn, EnumHand handIn) { return new ActionResult(EnumActionResult.SUCCESS, playerIn.getHeldItem(handIn)); } @@ -72,6 +73,7 @@ public ActionResult onItemRightClick(World worldIn, EntityPlayer play * allows items to add custom lines of information to the mouseover * description */ + @Override @SideOnly(Side.CLIENT) public void addInformation(ItemStack stack, @Nullable World worldIn, List tooltip, ITooltipFlag flagIn) { String s = I18n.translateToLocal("item.towel.towel.tooltip");