Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix blog post networking code #88

Merged
merged 2 commits into from
Apr 29, 2024
Merged

Conversation

kevinthegreat1
Copy link
Contributor

Fixes two mistakes in example code:

Instance should be PacketCodec<> and not PacketCodecs<>.

All play and config networking receivers take payload and context.

Supersedes #87 (renamed branch)

@kevinthegreat1
Copy link
Contributor Author

Fixed, thanks for pointing that out.

@modmuss50 modmuss50 merged commit 03f4491 into FabricMC:main Apr 29, 2024
2 checks passed
@kevinthegreat1 kevinthegreat1 deleted the 1205-fixes branch April 29, 2024 14:42
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.

4 participants