3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-11-03 14:50:19 +01:00

Merge pull request #355 from Artuto/master

Fix inverted booleans in MessageUtils.isTooLong
Dieser Commit ist enthalten in:
Redned 2020-04-16 10:43:49 -05:00 committet von GitHub
Commit 02ccbdff95
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -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;
} }
} }