Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-09-08 20:43:04 +02:00
Improved the comment added in the previous commit
Dieser Commit ist enthalten in:
Ursprung
360e2f4b9a
Commit
db583135eb
@ -582,7 +582,9 @@ public class GeyserSession implements CommandSender {
|
|||||||
protocol = new MinecraftProtocol(authenticationService.getSelectedProfile(), authenticationService.getAccessToken());
|
protocol = new MinecraftProtocol(authenticationService.getSelectedProfile(), authenticationService.getAccessToken());
|
||||||
} else {
|
} else {
|
||||||
// always replace spaces when using Floodgate,
|
// always replace spaces when using Floodgate,
|
||||||
// as usernames with spaces cause issues with Bungeecord's login cycle
|
// as usernames with spaces cause issues with Bungeecord's login cycle.
|
||||||
|
// However, this doesn't affect the final username as Floodgate is still in charge of that.
|
||||||
|
// So if you have (for example) replace spaces enabled on Floodgate the spaces will re-appear.
|
||||||
String validUsername = username;
|
String validUsername = username;
|
||||||
if (remoteAuthType == AuthType.FLOODGATE) {
|
if (remoteAuthType == AuthType.FLOODGATE) {
|
||||||
validUsername = username.replace(' ', '_');
|
validUsername = username.replace(' ', '_');
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren