mirror of
https://github.com/LeavesMC/Leaves.git
synced 2026-01-04 15:41:31 +00:00
Move config patch
This commit is contained in:
20
patches/server/0019-Multithreaded-Tracker.patch
Normal file
20
patches/server/0019-Multithreaded-Tracker.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: violetc <58360096+s-yh-china@users.noreply.github.com>
|
||||
Date: Sun, 14 Aug 2022 00:39:45 +0800
|
||||
Subject: [PATCH] Multithreaded Tracker
|
||||
|
||||
This patch is Powered by Pufferfish(https://github.com/pufferfish-gg/Pufferfish)
|
||||
|
||||
diff --git a/src/main/java/top/leavesmc/leaves/LeavesConfig.java b/src/main/java/top/leavesmc/leaves/LeavesConfig.java
|
||||
index 732d6c7f5c87714738ae49544ec82c3a674e1c53..4546a98ae419ff5f647e79455b7d36b21bdb92a8 100644
|
||||
--- a/src/main/java/top/leavesmc/leaves/LeavesConfig.java
|
||||
+++ b/src/main/java/top/leavesmc/leaves/LeavesConfig.java
|
||||
@@ -225,7 +225,7 @@ public final class LeavesConfig {
|
||||
dontSendUselessEntityPackets = getBoolean("settings.performance.dont-send-useless-entity-packets", dontSendUselessEntityPackets);
|
||||
}
|
||||
|
||||
- public static boolean asyncEntityTracker = false;
|
||||
+ public static boolean asyncEntityTracker = false; // void
|
||||
private static boolean asyncEntityTrackerLock = false;
|
||||
private static void asyncEntityTracker() {
|
||||
if (!asyncEntityTrackerLock) {
|
||||
Reference in New Issue
Block a user