mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-09 06:50:32 +08:00
Fix typo in 0368-Asynchronous-chunk-IO-and-loading.patch
This commit is contained in:
parent
8e0ed41f3b
commit
4e16d36e29
@ -199,7 +199,7 @@ index e4719a5e7e5ebd91257a9c9b83fa1adad70fd585..9ad822715c9358e5ac2a0e0a0800786a
|
|||||||
doChunkInfo(sender, args);
|
doChunkInfo(sender, args);
|
||||||
break;
|
break;
|
||||||
diff --git a/src/main/java/com/destroystokyo/paper/PaperConfig.java b/src/main/java/com/destroystokyo/paper/PaperConfig.java
|
diff --git a/src/main/java/com/destroystokyo/paper/PaperConfig.java b/src/main/java/com/destroystokyo/paper/PaperConfig.java
|
||||||
index 346da105776a0ae0cb06ed69f1f8f9160695bb85..0fcabd12408a8209da5cb3332e217f98983aec02 100644
|
index 346da105776a0ae0cb06ed69f1f8f9160695bb85..38f81c88107cc5c9ac6264d7778b121eb3e7a784 100644
|
||||||
--- a/src/main/java/com/destroystokyo/paper/PaperConfig.java
|
--- a/src/main/java/com/destroystokyo/paper/PaperConfig.java
|
||||||
+++ b/src/main/java/com/destroystokyo/paper/PaperConfig.java
|
+++ b/src/main/java/com/destroystokyo/paper/PaperConfig.java
|
||||||
@@ -1,5 +1,6 @@
|
@@ -1,5 +1,6 @@
|
||||||
@ -257,7 +257,7 @@ index 346da105776a0ae0cb06ed69f1f8f9160695bb85..0fcabd12408a8209da5cb3332e217f98
|
|||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ if (!asyncChunks) {
|
+ if (!asyncChunks) {
|
||||||
+ log("Async Chunks: Disabled - Chunks will be managed synchronosuly, and will cause tremendous lag.");
|
+ log("Async Chunks: Disabled - Chunks will be managed synchronously, and will cause tremendous lag.");
|
||||||
+ } else {
|
+ } else {
|
||||||
+ ChunkTaskManager.initGlobalLoadThreads(threads);
|
+ ChunkTaskManager.initGlobalLoadThreads(threads);
|
||||||
+ log("Async Chunks: Enabled - Chunks will be loaded much faster, without lag.");
|
+ log("Async Chunks: Enabled - Chunks will be loaded much faster, without lag.");
|
||||||
|
Loading…
Reference in New Issue
Block a user