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:
Commit
02ccbdff95
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren