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 testmauberries/main
parent
4721b31092
commit
ddd7286046
|
@ -57,8 +57,8 @@ public class AsyncPlayerChatListener implements Listener {
|
|||
List<String> 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("\\")) {
|
||||
|
|
Loading…
Reference in New Issue