13
0
geforkt von Mirrors/Paper
Paper/nms-patches/ChunkTaskScheduler.patch

16 Zeilen
650 B
Diff

2018-07-25 11:32:06 +02:00
--- a/net/minecraft/server/ChunkTaskScheduler.java
+++ b/net/minecraft/server/ChunkTaskScheduler.java
2018-12-25 22:00:00 +01:00
@@ -37,6 +37,12 @@
2018-07-25 11:32:06 +02:00
this.f = iasynctaskhandler;
}
+ // CraftBukkit start
+ public void forcePolluteCache(ChunkCoordIntPair chunkcoordintpair) {
2018-08-26 04:00:00 +02:00
+ this.progressCache.put(chunkcoordintpair.a(), new Scheduler.a(chunkcoordintpair, new ProtoChunk(chunkcoordintpair, ChunkConverter.a), ChunkStatus.EMPTY));
2018-07-25 11:32:06 +02:00
+ }
+ // CraftBukkit end
+
2018-08-26 04:00:00 +02:00
@Nullable
2018-12-25 22:00:00 +01:00
protected Scheduler<ChunkCoordIntPair, ChunkStatus, ProtoChunk>.a a(ChunkCoordIntPair chunkcoordintpair, boolean flag) {
2018-08-26 04:00:00 +02:00
IChunkLoader ichunkloader = this.e;