mircokroon / minecraft-world-downloader

Download Minecraft worlds, extend server's render distance. 1.12.2 - 1.21
GNU General Public License v3.0
1.25k stars 83 forks source link

1.20.4 Error on MultiMC and other Minecraft launchers #646

Open ghost opened 9 months ago

ghost commented 9 months ago

Describe the bug Hello @mircokroon I hope this messages finds you well. I am encountering an error while using the Minecraft World Downloader I have downloaded lasted version of World Downloader and i used 2 custom launchers MultiMC & TLauncher ( and there is still same issue *error ) after i connect on localhost:25565

PS : I am using Minecraft 1.20.4 Screenshot_6

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: Invalid VarInt found! Packet structure may have changed.
    at packets.DataReader.readVarInt(DataReader.java:70)
    at packets.DataTypeProvider.readVarInt(DataTypeProvider.java:111)
    at game.data.entity.EntityRegistry.destroyEntities(EntityRegistry.java:187)
    at packets.handler.ClientBoundGamePacketHandler.lambda$new$5(ClientBoundGamePacketHandler.java:60)
    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)**

...

Screenshots All screenshots with all details and settings in program.

Screenshot_1 Screenshot_2 Screenshot_3 Screenshot_4 Screenshot_5 Screenshot_6

Version