Skip to content

Filter block entities by version support in ChunkDataPacket#228

Open
pingwiniu wants to merge 1 commit intoElytrium:masterfrom
pingwiniu:master
Open

Filter block entities by version support in ChunkDataPacket#228
pingwiniu wants to merge 1 commit intoElytrium:masterfrom
pingwiniu:master

Conversation

@pingwiniu
Copy link

Block entities are now filtered to include only those supported by the current protocol version before being written to the buffer. This prevents unsupported block entities from being sent to clients on older versions, which previously caused a NullPointerException.

Block entities are now filtered to include only those supported by the current protocol version before being written to the buffer. This prevents unsupported block entities from being sent to clients on older versions. (I encountered this issue while trying to paste a schematica file on my server)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant