added the "all" option
This commit is contained in:
parent
58de2ea259
commit
66ea6211a2
@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user