@ayunami2000 opened this Issue on July 15th 2021

Description

Caused by: java.lang.NullPointerException: Cannot invoke "net.wurstclient.events.ConnectionPacketOutputListener$ConnectionPacketOutputEvent.getPacket()" because "this.event" is null

Steps To Reproduce

Please make a list of steps to reproduce the problem (ideally from a fresh Wurst installation):

  1. send a lot of packets on a minehut server in particular (they have some anti packet something that ends up crashing the game)
  2. it happened ONCE randomly in a server which does not have these minehut restrictions

Screenshots / Videos (Optional)

image

Crash Report

ive put the important part. if you do need the entire crash report lmk, but i dont need to leak my computer information.

ALSO i am using multiple other mods and other hacked clients. the error itself is being thrown by wurst however and to improve compatability with other mods it should be fixed here. also i am using 1.17 not 1.17.1

My fix

i would just make it check if the event is null and if so just cancel the packet