style: chat session data comment move
This commit is contained in:
parent
f447abe963
commit
f9513aa751
1 changed files with 5 additions and 5 deletions
|
@ -175,6 +175,11 @@ public class AppearanceManager {
|
||||||
remove.sendPacket(player);
|
remove.sendPacket(player);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Yes, I skip providing chat session data.
|
||||||
|
// Yes, this will cause players to get kicked
|
||||||
|
// as soon as they send a message on versions above 1.19.2.
|
||||||
|
// No, I'll not waste another day fixing their mess. Go cry about it to Mojang.
|
||||||
|
// (Long live NoEncryption!)
|
||||||
add.setData(ImmutableList.of(new PlayerInfoData(
|
add.setData(ImmutableList.of(new PlayerInfoData(
|
||||||
player.getUniqueId(),
|
player.getUniqueId(),
|
||||||
player.getPing(),
|
player.getPing(),
|
||||||
|
@ -182,11 +187,6 @@ public class AppearanceManager {
|
||||||
EnumWrappers.NativeGameMode.fromBukkit(player.getGameMode()),
|
EnumWrappers.NativeGameMode.fromBukkit(player.getGameMode()),
|
||||||
gameProfile,
|
gameProfile,
|
||||||
WrappedChatComponent.fromText(displayName)
|
WrappedChatComponent.fromText(displayName)
|
||||||
// Yes, I skip providing chat session data.
|
|
||||||
// Yes, this will cause players to get kicked
|
|
||||||
// as soon as they send a message on versions above 1.19.2.
|
|
||||||
// No, I'll not waste another day fixing their mess. Go cry about it to Mojang.
|
|
||||||
// (Long live NoEncryption!)
|
|
||||||
)));
|
)));
|
||||||
add.sendPacket(player);
|
add.sendPacket(player);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue