Fix bug where smelting allowed for XP gain in Mining/Repair even if
permissions were not present.