mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 11:49:12 +00:00
Check shout/question messages are longer than 1 character.
This commit is contained in:
parent
e46fe381b4
commit
662749be8b
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ public class EssentialsChatPlayerListenerNormal extends EssentialsChatPlayer
|
|||
final User user = chatStore.getUser();
|
||||
chatStore.setRadius(radius);
|
||||
|
||||
if (event.getMessage().length() > 0 && chatStore.getType().length() > 0)
|
||||
if (event.getMessage().length() > 1 && chatStore.getType().length() > 0)
|
||||
{
|
||||
final StringBuilder permission = new StringBuilder();
|
||||
permission.append("essentials.chat.").append(chatStore.getType());
|
||||
|
|
Loading…
Reference in a new issue