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 Oregen Pattern Info received to late #37

Merged
merged 3 commits into from Jul 29, 2023

Conversation

glowredman
Copy link
Member

Fixes GTNewHorizons/GT-New-Horizons-Modpack#14081

The packet with the oregen pattern used by the server i sent by GT on PlayerEvent$PlayerLoggedInEvent. However, VP builds the client cache on EntityJoinWorldEvent, which is fired earlier. Thus, VP only has GT's default to work with, unless the player disconnects and then reconnects to the same server. This PR delays the client caching by also using PlayerEvent$PlayerLoggedInEvent but with low priority.

BS update and a small cleanup included for free.

@glowredman glowredman requested review from a team July 27, 2023 20:01
@Dream-Master
Copy link
Member

Work and tested mp by HelffirePVP

@glowredman glowredman merged commit 388ed14 into master Jul 29, 2023
1 check passed
@glowredman glowredman deleted the fix-oregen-pattern-info-received-to-late branch July 29, 2023 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants