CloudburstMC / Protocol

A protocol library for Minecraft Bedrock Edition
https://git.io/ProtocolLib
Apache License 2.0
312 stars 94 forks source link

PacketSerializeException: Error whilst deserializing CreativeContentPacket(contents=null) #102

Closed Heath123 closed 3 years ago

Heath123 commented 3 years ago

When using ProxyPass with the Bedrock Dedicated Server (1.16.200) I get this error: https://hastebin.com/hafipaguzu.properties I'm using https://github.com/CloudburstMC/ProxyPass/pull/25

KCodeYT commented 3 years ago

session.getHardcodedBlockingId().set(355);

Heath123 commented 3 years ago

Oh, OK, thank you, shouldn't it depend on what the server sends in a proxy or will it always be that?

Alemiz112 commented 3 years ago

Oh, OK, thank you, shouldn't it depend on what the server sends in a proxy or will it always be that?

Yes, it may be different by server. You can get correct shieldBlockingId from item entries in StartGamePacket.

Heath123 commented 3 years ago

I should close this because it isn't a Protocol issue

Camotoy commented 3 years ago

Feel free to comment on this in my PR. It should be an easy fix.

Heath123 commented 3 years ago

I think I know how to fix it now but I will