From 374f979ae335b21cb7507a62fb6265ae5b1fa96e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beatrice=20Dellac=C3=A0?= Date: Sat, 14 Jan 2023 23:52:12 +0100 Subject: [PATCH] Fix synchronized mismatch --- src/main/java/wtf/beatrice/hidekobot/Cache.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/wtf/beatrice/hidekobot/Cache.java b/src/main/java/wtf/beatrice/hidekobot/Cache.java index 3ffa3c2..09bae87 100644 --- a/src/main/java/wtf/beatrice/hidekobot/Cache.java +++ b/src/main/java/wtf/beatrice/hidekobot/Cache.java @@ -93,7 +93,7 @@ public class Cache * * @return a boolean which is true if the bot is in verbose-mode */ - public static boolean isVerbose() { return verbose; } + public static synchronized boolean isVerbose() { return verbose; } /** * Set the bot's verbosity status at runtime.