diff --git a/src/main/java/uulm/teamname/marvelous/gamelibrary/gamelogic/StoneCooldownManager.java b/src/main/java/uulm/teamname/marvelous/gamelibrary/gamelogic/StoneCooldownManager.java index 5a24dfd..51f46a6 100644 --- a/src/main/java/uulm/teamname/marvelous/gamelibrary/gamelogic/StoneCooldownManager.java +++ b/src/main/java/uulm/teamname/marvelous/gamelibrary/gamelogic/StoneCooldownManager.java @@ -50,7 +50,7 @@ public class StoneCooldownManager { * @return Whether or not the stone is on cooldown */ public boolean onCooldown(StoneType stone) { - return cooldowns.containsKey(stone); + return cooldowns.getOrDefault(stone, 0) > 0; } /**