Skip to content

fix: map blackscreen after teleport from differing height levels#1096

Open
DesecratedTree wants to merge 1 commit into
GregHib:mainfrom
DesecratedTree:map
Open

fix: map blackscreen after teleport from differing height levels#1096
DesecratedTree wants to merge 1 commit into
GregHib:mainfrom
DesecratedTree:map

Conversation

@DesecratedTree

Copy link
Copy Markdown

Root cause identified: Client's method3157 has a guard condition that states if zoneX == storedZoneX && zoneY == storedZoneY && !forceRefresh, the body is skipped, leaving scene data cleared by method3120 but never repopulated → black map.

Fix applied: Added Z-level check to inViewOfZone in RegionLoading.kt:99 which previously only checked X/Y, so teleports to the same zone coordinates but different plane (e.g., surface↔dungeon) would NOT trigger a region reload, causing the player to have a black map.
image

@skalfate

Copy link
Copy Markdown
Contributor

This is lovely. I am amazed.

@GregHib

GregHib commented Jul 17, 2026

Copy link
Copy Markdown
Owner

Hmm I've never encountered this before, would it trigger using ladders to change levels?

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.

3 participants