mirror of
https://github.com/essentials/Essentials.git
synced 2025-01-17 13:28:30 +01:00
Check shout/question messages are longer than 1 character.
This commit is contained in:
parent
a44c6d51f7
commit
19ca37d392
@ -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…
x
Reference in New Issue
Block a user