From b36c5da721545b2f69fa7598e8de97535ca17652 Mon Sep 17 00:00:00 2001 From: Graphica Date: Sat, 1 Jul 2017 05:56:53 -0400 Subject: [PATCH] Fix bug which stopped more than 1 use of ability --- .../core/gadget/gadgets/morph/MorphFreedomFighter.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Plugins/Mineplex.Core/src/mineplex/core/gadget/gadgets/morph/MorphFreedomFighter.java b/Plugins/Mineplex.Core/src/mineplex/core/gadget/gadgets/morph/MorphFreedomFighter.java index d3b117b29..f2af2f184 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/gadget/gadgets/morph/MorphFreedomFighter.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/gadget/gadgets/morph/MorphFreedomFighter.java @@ -188,7 +188,10 @@ public class MorphFreedomFighter extends MorphGadget { if (_flagCooldowns.containsKey(uuid)) { - Recharge.Instance.usable(player, RECHARGE_KEY, true); + if (Recharge.Instance.usable(player, RECHARGE_KEY, true)) + { + _flagCooldowns.remove(uuid); + } } else {