Merge pull request #355 from Artuto/master

Fix inverted booleans in MessageUtils.isTooLong
This commit is contained in:
Redned 2020-04-16 10:43:49 -05:00 committed by GitHub
commit 02ccbdff95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -300,9 +300,9 @@ public class MessageUtils {
if (message.length() > 256) {
// 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.");
return false;
}
return true;
}
return false;
}
}