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 map overlay caches not clearing when they should #2744

Open
wants to merge 1 commit into
base: 1.20.1
Choose a base branch
from

Conversation

omergunr100
Copy link
Contributor

@omergunr100 omergunr100 commented Jan 14, 2025

What

The ore/fluid vein caches for all map mods weren't clearing when they should've in singleplayer (except journeymap which worked unless the world name was the same or something weird like that), and ftb chunks and xaerox weren't clearing in multiplayer too.

Implementation Details

Added a method for clearing the cached overlays which is called when the client caches are cleared.

Outcome

Fixes #2742

Clarification

#2742 mentions that the ftb integration doesn't work, I couldn't get it not to work, it should be noted that the ftb integration is off by default since 9/10 modpacks contain at least 1 of the 2 other map mods which we have an integration for.
When a map mod integration is toggled the game should be restarted to allow for our map renderer to initialize the compatibility correctly.

Potential Compatibility Issues

Doesn't contain breaking changes.

@omergunr100 omergunr100 requested a review from a team as a code owner January 14, 2025 19:33
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.

Prospected Veins showing up in other worlds
1 participant