Steps to reproduce
Be on 1.20.4
Go onto the localhost
Wait 10 seconds
Log output
java.lang.ArrayIndexOutOfBoundsException: Index 20 out of bounds for length 20
at packets.DataTypeProvider.readNext(DataTypeProvider.java:76)
at packets.DataTypeProvider$1.read(DataTypeProvider.java:198)
at java.base/java.io.InputStream.read(InputStream.java:296)
at java.base/java.io.DataInputStream.readFully(DataInputStream.java:208)
at java.base/java.io.DataInputStream.readUTF(DataInputStream.java:594)
at java.base/java.io.DataInputStream.readUTF(DataInputStream.java:550)
at se.llbit.nbt.StringTag.read(StringTag.java:46)
at se.llbit.nbt.NamedTag.read(NamedTag.java:58)
at packets.DataTypeProvider.readNbtTag(DataTypeProvider.java:195)
at packets.handler.version.ClientBoundGamePacketHandler_1_18.lambda$new$1(ClientBoundGamePacketHandler_1_18.java:32)
at packets.handler.PacketHandler.handle(PacketHandler.java:57)
at packets.DataReader.readPackets(DataReader.java:163)
at packets.DataReader.pushData(DataReader.java:118)
at proxy.ProxyServer.lambda$run$7(ProxyServer.java:106)
at util.ExceptionHandling.attempt(ExceptionHandling.java:12)
at proxy.ProxyServer.lambda$run$9(ProxyServer.java:103)
at util.ExceptionHandling.attempt(ExceptionHandling.java:12)
at proxy.ProxyServer.run(ProxyServer.java:62)
java.lang.RuntimeException: VarInt is too big
at packets.DataReader.readVarInt(DataReader.java:94)
...
Describe the bug Title
Steps to reproduce Be on 1.20.4 Go onto the localhost Wait 10 seconds
Log output
Screenshots
Version