MCPC+ checks, notify server owners that they're missing out.

This commit is contained in:
GJ
2013-10-04 09:41:01 -04:00
parent a0e37a4a09
commit 3365da7f8d
2 changed files with 34 additions and 1 deletions

View File

@ -86,7 +86,7 @@ public class Repair {
protected static int getSalvagedAmount(ItemStack inHand) {
// Temporary workaround until they get their stuff fixed.
if (mcMMO.p.getServer().getName().equals("MCPC+")) {
if (mcMMO.isMCPCEnabled()) {
if (ItemUtils.isPickaxe(inHand) || ItemUtils.isAxe(inHand) || ItemUtils.isBow(inHand) || inHand.getType() == Material.BUCKET) {
return 3;
}