mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-03 09:19:38 +01:00
974b0afca9
CraftBukkit removed their implementation that caused this issue, switching to Mojang's implementation which doesn't appear to share it. I already removed the important bit in the last upstream merge, this is just unused and unnecessary now. So we remove it.
27 lines
996 B
Diff
27 lines
996 B
Diff
From 7a4c9cc8f43dd8cb13ceafc6b4360c58a40c5e7a Mon Sep 17 00:00:00 2001
|
|
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
|
|
index 9012a63a0..5b27bd1c5 100644
|
|
--- a/src/main/java/net/minecraft/server/PlayerChunkMap.java
|
|
+++ b/src/main/java/net/minecraft/server/PlayerChunkMap.java
|
|
@@ -469,10 +469,12 @@ public class PlayerChunkMap {
|
|
}
|
|
|
|
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);
|
|
|
|
--
|
|
2.12.2.windows.2
|
|
|