From 763cff68985b545147153be6f1c6969b244d9c52 Mon Sep 17 00:00:00 2001 From: TfT_02 Date: Sat, 28 Sep 2013 19:46:47 +0200 Subject: [PATCH] Fixed a bug where Repair wasn't asking for confirmation --- .../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 c35a8bb49..a509b1d3b 100644 --- a/src/main/java/com/gmail/nossr50/skills/repair/RepairManager.java +++ b/src/main/java/com/gmail/nossr50/skills/repair/RepairManager.java @@ -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; }