From ddd7286046c251b1b46df90d9679bb8736595751 Mon Sep 17 00:00:00 2001 From: benamaurer Date: Mon, 24 May 2021 08:16:39 -0500 Subject: [PATCH] Removing `else{}`s from AsyncPlayerChatListener per Etz's comment __I don't think this is ready to merge__, still getting errors when trying to build the jar to test --- .../xyz/etztech/qol/listeners/AsyncPlayerChatListener.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/xyz/etztech/qol/listeners/AsyncPlayerChatListener.java b/src/main/java/xyz/etztech/qol/listeners/AsyncPlayerChatListener.java index e5bd3f4..bea1d98 100644 --- a/src/main/java/xyz/etztech/qol/listeners/AsyncPlayerChatListener.java +++ b/src/main/java/xyz/etztech/qol/listeners/AsyncPlayerChatListener.java @@ -57,8 +57,8 @@ public class AsyncPlayerChatListener implements Listener { List advancementTriggerList = plugin.getConfig().getStringList("chat-advancement-triggers"); if (advancementTriggerList.stream().anyMatch(t -> chat.toLowerCase().contains(t.toLowerCase()))) { player.getAdvancementProgress(adv).awardCriteria("win"); - } else{} - } else {} + } + } // Escape if (chat.startsWith("\\")) {