Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-23 14:50:08 +01:00
16 Zeilen
650 B
Diff
16 Zeilen
650 B
Diff
--- a/net/minecraft/server/ChunkTaskScheduler.java
|
|
+++ b/net/minecraft/server/ChunkTaskScheduler.java
|
|
@@ -37,6 +37,12 @@
|
|
this.f = iasynctaskhandler;
|
|
}
|
|
|
|
+ // CraftBukkit start
|
|
+ public void forcePolluteCache(ChunkCoordIntPair chunkcoordintpair) {
|
|
+ this.progressCache.put(chunkcoordintpair.a(), new Scheduler.a(chunkcoordintpair, new ProtoChunk(chunkcoordintpair, ChunkConverter.a), ChunkStatus.EMPTY));
|
|
+ }
|
|
+ // CraftBukkit end
|
|
+
|
|
@Nullable
|
|
protected Scheduler<ChunkCoordIntPair, ChunkStatus, ProtoChunk>.a a(ChunkCoordIntPair chunkcoordintpair, boolean flag) {
|
|
IChunkLoader ichunkloader = this.e;
|