mcMMO-Dev/mcMMO — pull request #1865 by roblikescake (2014-02-15 23:11:04+00:00)
Title: Check durability before repairMaterial

This commit fixes the issue of having an item at full durability deploying the message of needing more repair materials upon trying to repair.

Currently, if you have an item with full durability and attempt to repair it, and do not have enough materials in your inventory to repair it with, you will get a message saying you need more materials. With this change, it will check if it is full durability and cancel the repair if it is full durability, or otherwise will continue on to checking for the repair materials.