Skip to content

Commit 36179c8

Browse files
committed
change keepalive packet ID to 1
1 parent 8b4b97c commit 36179c8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/com/denizenscript/depenizen/bungee/DepenizenBungee.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public DepenizenConnection getConnectionByName(String name) {
6262
}
6363

6464
public void registerPackets() {
65-
packets.put(0, new KeepAlivePacketIn());
65+
packets.put(1, new KeepAlivePacketIn());
6666
packets.put(10, new SendPlayerPacketIn());
6767
packets.put(MyInfoPacketIn.PACKET_ID, new MyInfoPacketIn());
6868
packets.put(12, new ControlProxyPingPacketIn());

src/main/java/com/denizenscript/depenizen/bungee/packets/out/KeepAlivePacketOut.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ public class KeepAlivePacketOut extends PacketOut {
77

88
@Override
99
public int getPacketId() {
10-
return 0;
10+
return 1;
1111
}
1212

1313
public static byte[] KEEP_ALIVE_BUFFER = new byte[1024];

0 commit comments

Comments
 (0)