Rename hasSentAvatarDataNotify() to hasSentLoginPackets()

This commit is contained in:
Melledy
2022-07-21 16:27:43 -07:00
parent b505b0825a
commit 8651cdd12b
3 changed files with 10 additions and 14 deletions

View File

@@ -283,7 +283,7 @@ public class World implements Iterable<Player> {
private void updatePlayerInfos(Player paramPlayer) {
for (Player player : getPlayers()) {
// Dont send packets if player is logging in and filter out joining player
if (!player.hasSentAvatarDataNotify() || player == paramPlayer) {
if (!player.hasSentLoginPackets() || player == paramPlayer) {
continue;
}