Open ImAhmadAbdullah opened 6 months ago
What version? And is this server specific or not?
Could you explain what you mean by specific? And in the server I kick on join to verify people and allow all versions.
@Pandapip1 Please see this:
Chunk size is 42 but only 2 was read ; partial packet : {"name":96}; buffer :e00000000000436f6f6b69653a206d737473686173683d41646d696e697374720d0a0100080003000000
What MC version btw. If 1.20.2 going to probably want to replace login with playerJoin (it will work for older versions too ) since login is before all the config state stuff happens.
I am unaffiliated with this project. Please make sure you are using an up-to-date node-minecraft-protocol
. That solved my inital issue, although I also encountered this roadblock.
What MC version btw. If 1.20.2 going to probably want to replace login with playerJoin (it will work for older versions too ) since login is before all the config state stuff happens.
Thanks ! I missed that information... Was it on a changelog or something like that ? Event login could be marked as depreciated.
The login event is still useful, but is fired when thr player logins in but before the transition to play state state happens, while playerJoin happens after the switch from configuration state to the play state. (And at every switch from config state to play)
[ ] The FAQ doesn't contain a resolution to my issue
Versions
Detailed description of a problem
Missing characters in string, found size is 3 expected size was 50 The error got in Minecraft: Internal Exception: io.netty.handler.codec.DecoderException: net.minecraft.class_8911: Loading NBT data. The error is random and I am failing to debug or reproduce. Full error:
Current code
Expected behavior
It should work normally without errors.
Additional context
Add any other context about the problem here.