mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 23:10:16 +01:00
Readd final mod to ChunkHolder#getTickingChunk
This commit is contained in:
parent
7caf863b52
commit
88b2981e09
1 changed files with 9 additions and 0 deletions
|
@ -32,6 +32,15 @@
|
|||
public CompletableFuture<ChunkResult<LevelChunk>> getTickingChunkFuture() {
|
||||
return this.tickingChunkFuture;
|
||||
}
|
||||
@@ -84,7 +_,7 @@
|
||||
}
|
||||
|
||||
@Nullable
|
||||
- public LevelChunk getTickingChunk() {
|
||||
+ public final LevelChunk getTickingChunk() { // Paper - final for inline
|
||||
return this.getTickingChunkFuture().getNow(UNLOADED_LEVEL_CHUNK).orElse(null);
|
||||
}
|
||||
|
||||
@@ -129,6 +_,7 @@
|
||||
} else {
|
||||
boolean flag = this.hasChangedSections;
|
||||
|
|
Loading…
Reference in a new issue