Skip to content

Use getChunkIfLoadedImmediately in places#2297

Merged
zachbr merged 5 commits into
PaperMC:ver/1.14from
Spottedleaf:getifloadedimmediately
Jul 18, 2019
Merged

Use getChunkIfLoadedImmediately in places#2297
zachbr merged 5 commits into
PaperMC:ver/1.14from
Spottedleaf:getifloadedimmediately

Conversation

@Spottedleaf
Copy link
Copy Markdown
Member

This prevents us from hitting chunk loads for chunks at or less-than
ticket level 33 (yes getChunkIfLoaded will actually perform a chunk
load in that case).

This prevents us from hitting chunk loads for chunks at or less-than
ticket level 33 (yes getChunkIfLoaded will actually perform a chunk
load in that case).
@Spottedleaf
Copy link
Copy Markdown
Member Author

added missing modification to World#getChunkIfLoaded

@Spottedleaf Spottedleaf mentioned this pull request Jul 16, 2019
10 tasks
@zachbr zachbr merged commit 920ad7c into PaperMC:ver/1.14 Jul 18, 2019
LeonTG pushed a commit to LeonTG/Paper that referenced this pull request May 17, 2026
* Use getChunkIfLoadedImmediately in places

This prevents us from hitting chunk loads for chunks at or less-than
ticket level 33 (yes getChunkIfLoaded will actually perform a chunk
load in that case).

* Resolve issue PaperMC#2301

* Also target World#getChunkIfLoaded
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.

5 participants