mirror of
https://github.com/LeavesMC/Leaves.git
synced 2025-12-21 15:59:33 +00:00
21 lines
1.1 KiB
Diff
21 lines
1.1 KiB
Diff
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 cfe51379e2006bb74f7ec40572e04e07ef003ced..0ad51311b41c2a002ae6d3c5b263cd9a6c304944 100644
|
|
--- a/src/main/java/top/leavesmc/leaves/LeavesConfig.java
|
|
+++ b/src/main/java/top/leavesmc/leaves/LeavesConfig.java
|
|
@@ -257,7 +257,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) {
|