From 4fe41fe41615b9d5dfb96d930d29f593c7227299 Mon Sep 17 00:00:00 2001 From: t00thpick1 Date: Thu, 11 Jun 2015 21:15:40 -0400 Subject: [PATCH] Check Item Type, not Material Type a second time. Fixes #2584 --- .../java/com/gmail/nossr50/skills/repair/RepairManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/skills/repair/RepairManager.java b/src/main/java/com/gmail/nossr50/skills/repair/RepairManager.java index 070a06772..18b5b4f98 100644 --- a/src/main/java/com/gmail/nossr50/skills/repair/RepairManager.java +++ b/src/main/java/com/gmail/nossr50/skills/repair/RepairManager.java @@ -67,7 +67,7 @@ public class RepairManager extends SkillManager { return; } - if (!Permissions.repairMaterialType(player, repairable.getRepairMaterialType())) { + if (!Permissions.repairItemType(player, repairable.getRepairItemType())) { player.sendMessage(LocaleLoader.getString("mcMMO.NoPermission")); return; }