mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-11-23 23:38:41 +01:00
Fix inverted booleans in MessageUtils.isTooLong
This commit is contained in:
parent
e96863e941
commit
508d56ffc8
1 changed files with 2 additions and 2 deletions
|
@ -300,9 +300,9 @@ public class MessageUtils {
|
||||||
if (message.length() > 256) {
|
if (message.length() > 256) {
|
||||||
// TODO: Add Geyser localization and translate this based on language
|
// TODO: Add Geyser localization and translate this based on language
|
||||||
session.sendMessage("Your message is bigger than 256 characters (" + message.length() + ") so it has not been sent.");
|
session.sendMessage("Your message is bigger than 256 characters (" + message.length() + ") so it has not been sent.");
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue