added the "all" option

This commit is contained in:
FeuSalamander 2023-03-13 10:51:54 +01:00
parent 58de2ea259
commit 66ea6211a2

View File

@ -41,6 +41,9 @@ public final class Listeners {
if (!configuration.isMessageEnabled()) { if (!configuration.isMessageEnabled()) {
return; return;
} }
if(configuration.isAllEnabled()){
e.setResult(PlayerChatEvent.ChatResult.message(""));
}
message(e.getPlayer(), e.getMessage()); message(e.getPlayer(), e.getMessage());
} }