I made a custom repairing plugin a while ago, and the main core of it (repairing the actual tool) is rather glitchy. It will set the item durability to max, but what I've noticed is that there is a very unpredictable, rare "glitch". Sometimes, whenever a player mines a block with their newly repaired tool, it breaks instantly. As if it had 1 block hit left on it. This has resulted in many of my players moaning at me and im fed up of it lol. I'm currently doing the following to "repair" the tool: Code (Text): p.getItemInHand().setDurability((short) 0); p.updateInventory(); Any help is appreciated.