public override void receiveRightClick(int x, int y, bool playSound = true) { if (verticalToolBar.isWithinBounds(x, y)) { Item heldItem = Game1.player.CursorSlotItem; Game1.player.CursorSlotItem = verticalToolBar.rightClick(x, y, heldItem, playSound); return; } base.receiveRightClick(x, y, playSound); }