Check Item Type, not Material Type a second time. Fixes #2584

This commit is contained in:
t00thpick1 2015-06-11 21:15:40 -04:00
parent d8184fb298
commit 4fe41fe416

View File

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