From 5a49816befb58eb51195680725347daaf215b149 Mon Sep 17 00:00:00 2001 From: Roman Alexander Date: Tue, 24 Mar 2015 18:28:19 -0500 Subject: [PATCH] How about we actually make that tickNextTickList cap configurable *glances at Z* --- Spigot-Server-Patches/0040-Fix-redstone-lag-issues.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Spigot-Server-Patches/0040-Fix-redstone-lag-issues.patch b/Spigot-Server-Patches/0040-Fix-redstone-lag-issues.patch index f84f80bb36..b15215cc23 100644 --- a/Spigot-Server-Patches/0040-Fix-redstone-lag-issues.patch +++ b/Spigot-Server-Patches/0040-Fix-redstone-lag-issues.patch @@ -1,4 +1,4 @@ -From c42571ad2dde931065e837927349fa1d157f53e3 Mon Sep 17 00:00:00 2001 +From bd16f6b7d98e99ca219ebb5f0f1576c8ce371874 Mon Sep 17 00:00:00 2001 From: Iceee Date: Sat, 7 Mar 2015 20:49:31 -0600 Subject: [PATCH] Fix redstone lag issues @@ -38,7 +38,7 @@ index a599869..5d73d88 100644 this.methodProfiler.a("cleaning"); diff --git a/src/main/java/org/github/paperspigot/PaperSpigotWorldConfig.java b/src/main/java/org/github/paperspigot/PaperSpigotWorldConfig.java -index 1915a7c..46412dd 100644 +index 1915a7c..fa4a7d7 100644 --- a/src/main/java/org/github/paperspigot/PaperSpigotWorldConfig.java +++ b/src/main/java/org/github/paperspigot/PaperSpigotWorldConfig.java @@ -223,4 +223,11 @@ public class PaperSpigotWorldConfig @@ -49,7 +49,7 @@ index 1915a7c..46412dd 100644 + public int tickNextTickCap; + private void tickNextTickCap() + { -+ tickNextTickCap = 10000; // Higher values will be friendlier to vanilla style mechanics but may hurt performance ++ tickNextTickCap = getInt( "tick-next-tick-list-cap", 10000 ); // Higher values will be friendlier to vanilla style mechanics (to a point) but may hurt performance + log( "WorldServer TickNextTick cap set at " + tickNextTickCap ); + } }