mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-26 19:07:40 +01:00
Readd final mod to ChunkHolder#getTickingChunk
This commit is contained in:
parent
7caf863b52
commit
88b2981e09
@ -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 New Issue
Block a user