How am I supposed to do this??? This causes a comp...
# announcements
c
How am I supposed to do this??? This causes a compile time error and I need it for packet handling :c
d
Add return type to the method
c
Which method @David Eriksson?
Making handlePacket return a blank string didn't change anything
d
Oh I see, hmm
c
Oh, I'm a dumbo, I'm using a VarInt inlined class as a parameter, sorry my bad
Weird how the error didn't really mention that tho
d
That was odd 🙂 BTW Any specific reason you are using generics in the map and not an interface?
c
I tried both to attempt to fix
👍 1
But they should be equal and I find the star cleaner