9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2026-01-04 15:41:40 +00:00

Add warning in config for async entity tracker and secure seed

This commit is contained in:
Dreeam
2024-04-15 14:45:09 -04:00
parent 2ae1941317
commit b3d1849cad
2 changed files with 10 additions and 6 deletions

View File

@@ -440,10 +440,10 @@ index 0000000000000000000000000000000000000000..83bd78db3affa7bd7ac646f6b56ec256
\ No newline at end of file
diff --git a/src/main/java/org/dreeam/leaf/config/modules/async/MultithreadedTracker.java b/src/main/java/org/dreeam/leaf/config/modules/async/MultithreadedTracker.java
new file mode 100644
index 0000000000000000000000000000000000000000..a08da88d257ac8b87b1587c2d01355a443385f58
index 0000000000000000000000000000000000000000..d4e63c8f6bf6610e655048176f58a4d5a9040c90
--- /dev/null
+++ b/src/main/java/org/dreeam/leaf/config/modules/async/MultithreadedTracker.java
@@ -0,0 +1,43 @@
@@ -0,0 +1,44 @@
+package org.dreeam.leaf.config.modules.async;
+
+import com.electronwill.nightconfig.core.file.CommentedFileConfig;
@@ -473,7 +473,8 @@ index 0000000000000000000000000000000000000000..a08da88d257ac8b87b1587c2d01355a4
+
+ @Override
+ public void onLoaded(CommentedFileConfig config) {
+ config.setComment("", """
+ config.setComment("async.async_entity_tracker", """
+ WARNING! Enabling async entity tracker is not recommend currently.
+ Whether or not async entity tracking should be enabled.
+ You may encounter issues with NPCs""");
+