Xp Bottle Mending

About

A Paper plugin for Minecraft 26.*.* that intercepts Bottle o' Enchanting throws. When a player throws and breaks an ** bottle, the experience is given directly to the throwing player instead of dropping on the ground. Simultaneously, the plugin scans the player's entire inventory including armor, main hand, off hand, and all slots, repairing any item with the Mending enchantment to full durability by setting damage to zero. Uses ExpBottleEvent, checks shooter is a player, and applies Mending repairs across all inventory items with Damageable ItemMeta.