diff options
Diffstat (limited to 'Spigot-Server-Patches/0030-Lighting-Queue.patch')
-rw-r--r-- | Spigot-Server-Patches/0030-Lighting-Queue.patch | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Spigot-Server-Patches/0030-Lighting-Queue.patch b/Spigot-Server-Patches/0030-Lighting-Queue.patch index b0eaa09c7a..4822dda513 100644 --- a/Spigot-Server-Patches/0030-Lighting-Queue.patch +++ b/Spigot-Server-Patches/0030-Lighting-Queue.patch @@ -1,4 +1,4 @@ -From 92e46c6a80210fe9152b447e7dc2275dadb8e575 Mon Sep 17 00:00:00 2001 +From fa2e0c1e868ffb94b3748ffbd75b60a5b6ce38fc Mon Sep 17 00:00:00 2001 From: Byteflux <[email protected]> Date: Wed, 2 Mar 2016 00:52:31 -0600 Subject: [PATCH] Lighting Queue @@ -6,19 +6,19 @@ Subject: [PATCH] Lighting Queue This provides option to queue lighting updates to ensure they do not cause the server lag diff --git a/src/main/java/co/aikar/timings/WorldTimingsHandler.java b/src/main/java/co/aikar/timings/WorldTimingsHandler.java -index 36aafb2..90bdbf0 100644 +index e778911..f90f5bf 100644 --- a/src/main/java/co/aikar/timings/WorldTimingsHandler.java +++ b/src/main/java/co/aikar/timings/WorldTimingsHandler.java -@@ -45,6 +45,8 @@ public class WorldTimingsHandler { - public final Timing chunkIOStage1; - public final Timing chunkIOStage2; +@@ -50,6 +50,8 @@ public class WorldTimingsHandler { + public final Timing chunkSaveNop; + public final Timing chunkSaveData; + public final Timing lightingQueueTimer; + public WorldTimingsHandler(World server) { String name = server.worldData.getName() +" - "; -@@ -87,5 +89,7 @@ public class WorldTimingsHandler { +@@ -97,5 +99,7 @@ public class WorldTimingsHandler { tracker2 = Timings.ofSafe(name + "tracker stage 2"); doTick = Timings.ofSafe(name + "doTick"); tickEntities = Timings.ofSafe(name + "tickEntities"); @@ -85,7 +85,7 @@ index 445419f..76130c9 100644 TileEntity tileentity; diff --git a/src/main/java/net/minecraft/server/ChunkProviderServer.java b/src/main/java/net/minecraft/server/ChunkProviderServer.java -index 5682f03..5eeefe8 100644 +index 1380815..466cd49 100644 --- a/src/main/java/net/minecraft/server/ChunkProviderServer.java +++ b/src/main/java/net/minecraft/server/ChunkProviderServer.java @@ -279,6 +279,7 @@ public class ChunkProviderServer implements IChunkProvider { @@ -97,7 +97,7 @@ index 5682f03..5eeefe8 100644 // Update neighbor counts for (int x = -2; x < 3; x++) { diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java -index 1363472..d0060d0 100644 +index 029a6c3..f0dcb9f 100644 --- a/src/main/java/net/minecraft/server/MinecraftServer.java +++ b/src/main/java/net/minecraft/server/MinecraftServer.java @@ -709,7 +709,7 @@ public abstract class MinecraftServer implements Runnable, ICommandListener, IAs @@ -109,7 +109,7 @@ index 1363472..d0060d0 100644 ++this.ticks; if (this.S) { -@@ -769,6 +769,7 @@ public abstract class MinecraftServer implements Runnable, ICommandListener, IAs +@@ -767,6 +767,7 @@ public abstract class MinecraftServer implements Runnable, ICommandListener, IAs this.methodProfiler.b(); org.spigotmc.WatchdogThread.tick(); // Spigot @@ -235,5 +235,5 @@ index 8fb8176..672167a 100644 } -- -2.10.0.windows.1 +2.10.1 |