MrKinau / FishingBot

1.8 - 1.21 Fishing bot for Minecraft
GNU General Public License v3.0
322 stars 68 forks source link

error #44

Closed gargamelbot closed 4 years ago

gargamelbot commented 4 years ago

[2020-04-19 18:44:30] [INFO ] Module "ClientDefaultsModule" disabled! [2020-04-19 18:44:30] [INFO ] Module "FishingModule" disabled! [2020-04-19 18:44:30] [INFO ] FishingBot restarts in 3 seconds... [2020-04-19 18:44:33] [INFO ] Module "FishingModule" enabled! [2020-04-19 18:44:33] [INFO ] Module "HandshakeModule" enabled! [2020-04-19 18:44:33] [INFO ] Module "LoginModule" enabled! [2020-04-19 18:44:33] [INFO ] Module "ChatProxyModule" enabled! [2020-04-19 18:44:33] [INFO ] Module "ChatCommandModule" enabled! [2020-04-19 18:44:33] [INFO ] Module "ClientDefaultsModule" enabled! [2020-04-19 18:44:34] [INFO ] Login successful! [2020-04-19 18:44:34] [INFO ] Name: IOwenronal [2020-04-19 18:44:34] [INFO ] UUID: 0b2caed5-f05f-4a64-8f96-3886eb973ee6 Exception in thread "Thread-11" java.lang.NullPointerException at systems.kinau.fishingbot.network.protocol.play.PacketOutUseItem.write(PacketOutUseItem.java:28) at systems.kinau.fishingbot.network.protocol.NetworkHandler.sendPacket(NetworkHandler.java:371) at systems.kinau.fishingbot.modules.FishingModule.lambda$onSetDifficulty$7(FishingModule.java:224) at java.lang.Thread.run(Unknown Source) systems.kinau.fishingbot.network.utils.InvalidPacketException: VarInt too big at systems.kinau.fishingbot.network.protocol.Packet.readVarInt(Packet.java:112) at systems.kinau.fishingbot.network.protocol.NetworkHandler.readData(NetworkHandler.java:409) at systems.kinau.fishingbot.FishingBot.connect(FishingBot.java:210) at systems.kinau.fishingbot.FishingBot.start(FishingBot.java:143) at systems.kinau.fishingbot.Main.main(Main.java:12) [2020-04-19 18:44:35] [WARNING] Could not receive packet! Shutting down! [2020-04-19 18:44:35] [INFO ] Module "ClientDefaultsModule" disabled! [2020-04-19 18:44:35] [INFO ] Module "FishingModule" disabled! [2020-04-19 18:44:35] [INFO ] FishingBot restarts in 3 seconds...

MrKinau commented 4 years ago

On which Version appears this bug? Does it happen every time you start?