2016-09-11 02:42:47 +00:00
|
|
|
From 694f9d8f5ef28f63522d63d422677147164f23b1 Mon Sep 17 00:00:00 2001
|
2016-03-20 19:24:24 +00:00
|
|
|
From: Daniel Ennis <dennis@icontact.com>
|
|
|
|
Date: Sun, 20 Mar 2016 15:22:42 -0400
|
|
|
|
Subject: [PATCH] Catch Async PlayerChunkMap operations
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/PlayerChunkMap.java b/src/main/java/net/minecraft/server/PlayerChunkMap.java
|
2016-08-13 20:26:40 +00:00
|
|
|
index fcd0186..c9d48ac 100644
|
2016-03-20 19:24:24 +00:00
|
|
|
--- a/src/main/java/net/minecraft/server/PlayerChunkMap.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/PlayerChunkMap.java
|
2016-08-13 20:26:40 +00:00
|
|
|
@@ -461,10 +461,12 @@ public class PlayerChunkMap {
|
2016-03-20 19:24:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public void a(PlayerChunk playerchunk) {
|
|
|
|
+ org.spigotmc.AsyncCatcher.catchOp("Async Player Chunk Add"); // Paper
|
|
|
|
this.f.add(playerchunk);
|
|
|
|
}
|
|
|
|
|
|
|
|
public void b(PlayerChunk playerchunk) {
|
|
|
|
+ org.spigotmc.AsyncCatcher.catchOp("Async Player Chunk Remove"); // Paper
|
|
|
|
ChunkCoordIntPair chunkcoordintpair = playerchunk.a();
|
|
|
|
long i = d(chunkcoordintpair.x, chunkcoordintpair.z);
|
|
|
|
|
|
|
|
--
|
2016-09-11 02:42:47 +00:00
|
|
|
2.10.0.windows.1
|
2016-03-20 19:24:24 +00:00
|
|
|
|