Upstream Paper

This commit is contained in:
Sotr
2019-03-25 17:59:41 +08:00
parent 8c772dd85f
commit 312043ac02
13 changed files with 702 additions and 8 deletions

View File

@@ -1113,7 +1113,7 @@ public abstract class MinecraftServer implements IAsyncTaskHandler, IMojangStati
this.methodProfiler.exit();
this.methodProfiler.enter("tracker");
worldserver.getTracker().updatePlayers();
if (playerList.players.size() > 0) worldserver.getTracker().updatePlayers(); // Paper - No players, why spend time tracking them? (See patch)
this.methodProfiler.exit();
this.methodProfiler.exit();
worldserver.explosionDensityCache.clear(); // Paper - Optimize explosions