From 1396344f37ac1e111b3a9fe0b9981ddb7e8a9f29 Mon Sep 17 00:00:00 2001 From: ayunami2000 Date: Sun, 24 Jul 2022 15:02:42 -0400 Subject: [PATCH] Fix tablist when auth is enabled. --- .../src/main/java/net/md_5/bungee/eaglercraft/AuthHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eaglercraftbungee/src/main/java/net/md_5/bungee/eaglercraft/AuthHandler.java b/eaglercraftbungee/src/main/java/net/md_5/bungee/eaglercraft/AuthHandler.java index 60f0597..65b2dfc 100644 --- a/eaglercraftbungee/src/main/java/net/md_5/bungee/eaglercraft/AuthHandler.java +++ b/eaglercraftbungee/src/main/java/net/md_5/bungee/eaglercraft/AuthHandler.java @@ -46,7 +46,7 @@ public class AuthHandler extends PacketHandler { this.con.disconnect("You did not login in time!"); }).start(); - this.con.unsafe().sendPacket(new Packet1Login(0, "END", (byte) 2, 1, (byte) 0, (byte) 0, (byte) 1)); + this.con.unsafe().sendPacket(new Packet1Login(0, "END", (byte) 2, 1, (byte) 0, (byte) 0, (byte) this.con.getPendingConnection().getListener().getTabListSize())); this.con.unsafe().sendPacket(new Packet9Respawn(1, (byte) 0, (byte) 2, (short) 255, "END")); this.con.unsafe().sendPacket(new Packet0DPositionAndLook(0, 0, 0, 0, 0f, 0f, true));