Fixed a bug where Repair wasn't asking for confirmation

This commit is contained in:
TfT_02 2013-09-28 19:46:47 +02:00
parent fa34d06341
commit 763cff6898

View File

@ -181,7 +181,7 @@ public class RepairManager extends SkillManager {
McMMOPlayer mcMMOPlayer = UserManager.getPlayer(player);
long lastUse = mcMMOPlayer.getLastAnvilUse(anvilType);
if (SkillUtils.cooldownExpired(lastUse, 3) || !Config.getInstance().getRepairConfirmRequired()) {
if (!SkillUtils.cooldownExpired(lastUse, 3) || !Config.getInstance().getRepairConfirmRequired()) {
return true;
}