Remove more async catcher callers

This commit is contained in:
Sotr
2019-03-27 17:27:14 +08:00
parent 558f284053
commit eb8cb02ae3
2 changed files with 2 additions and 2 deletions

View File

@@ -81,7 +81,7 @@ public class CraftingManager implements IResourcePackListener {
}
public void a(IRecipe irecipe) {
org.spigotmc.AsyncCatcher.catchOp("Recipe Add"); // Spigot
//org.spigotmc.AsyncCatcher.catchOp("Recipe Add"); // Spigot // Akarin
if (this.recipes.containsKey(irecipe.getKey())) {
throw new IllegalStateException("Duplicate recipe ignored with ID " + irecipe.getKey());
} else {

View File

@@ -459,7 +459,7 @@ public class PlayerChunkMap {
}
public void a(PlayerChunk playerchunk) {
org.spigotmc.AsyncCatcher.catchOp("Async Player Chunk Add"); // Paper
//org.spigotmc.AsyncCatcher.catchOp("Async Player Chunk Add"); // Paper // Akarin
this.f.add(playerchunk);
}