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; }