mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-02 04:56:50 +01:00
Fix unit tests
This commit is contained in:
parent
feacfb991d
commit
911b500845
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
From ec5eb62165143ba7444a7f39afe0e24d4032370a Mon Sep 17 00:00:00 2001
|
From e752e877dd0a7fffdcbd8a375ee35f47db3ca983 Mon Sep 17 00:00:00 2001
|
||||||
From: md_5 <git@md-5.net>
|
From: md_5 <git@md-5.net>
|
||||||
Date: Tue, 28 Jan 2014 20:32:07 +1100
|
Date: Tue, 28 Jan 2014 20:32:07 +1100
|
||||||
Subject: [PATCH] Implement Threaded Bulk Chunk Compression and Caching
|
Subject: [PATCH] Implement Threaded Bulk Chunk Compression and Caching
|
||||||
|
@ -193,7 +193,7 @@ index 0000000..3fd45dc
|
||||||
+ }
|
+ }
|
||||||
+}
|
+}
|
||||||
diff --git a/src/main/java/org/spigotmc/SpigotConfig.java b/src/main/java/org/spigotmc/SpigotConfig.java
|
diff --git a/src/main/java/org/spigotmc/SpigotConfig.java b/src/main/java/org/spigotmc/SpigotConfig.java
|
||||||
index 552266b..e6d414a 100755
|
index 552266b..6c6e6b0 100755
|
||||||
--- a/src/main/java/org/spigotmc/SpigotConfig.java
|
--- a/src/main/java/org/spigotmc/SpigotConfig.java
|
||||||
+++ b/src/main/java/org/spigotmc/SpigotConfig.java
|
+++ b/src/main/java/org/spigotmc/SpigotConfig.java
|
||||||
@@ -266,4 +266,16 @@ public class SpigotConfig
|
@@ -266,4 +266,16 @@ public class SpigotConfig
|
||||||
|
@ -201,7 +201,7 @@ index 552266b..e6d414a 100755
|
||||||
playerShuffle = getInt( "settings.player-shuffle", 0 );
|
playerShuffle = getInt( "settings.player-shuffle", 0 );
|
||||||
}
|
}
|
||||||
+
|
+
|
||||||
+ public static int compressionThreads;
|
+ public static int compressionThreads = 1; // Stupid unit tests
|
||||||
+ public static int chunkCacheBytes;
|
+ public static int chunkCacheBytes;
|
||||||
+ private static void chunkStuff()
|
+ private static void chunkStuff()
|
||||||
+ {
|
+ {
|
||||||
|
|
Loading…
Reference in a new issue