mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-21 02:17:42 +01:00
Hide Purpur's configurable seeds in timings reports
This commit is contained in:
committed by
William Blake Galbreath
parent
e24069a477
commit
d478261f8e
@@ -5,10 +5,17 @@ Subject: [PATCH] Populator seed controls
|
||||
|
||||
|
||||
diff --git a/src/main/java/com/tuinity/tuinity/config/TuinityConfig.java b/src/main/java/com/tuinity/tuinity/config/TuinityConfig.java
|
||||
index 1c7b858ed5..9257da9680 100644
|
||||
index 1c7b858ed5..199221c0d8 100644
|
||||
--- a/src/main/java/com/tuinity/tuinity/config/TuinityConfig.java
|
||||
+++ b/src/main/java/com/tuinity/tuinity/config/TuinityConfig.java
|
||||
@@ -249,6 +249,11 @@ public final class TuinityConfig {
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.tuinity.tuinity.config;
|
||||
|
||||
+import co.aikar.timings.TimingsManager;
|
||||
import com.destroystokyo.paper.util.SneakyThrow;
|
||||
import net.minecraft.server.TicketType;
|
||||
import org.bukkit.Bukkit;
|
||||
@@ -249,6 +250,11 @@ public final class TuinityConfig {
|
||||
return this.config.getDouble(path, this.worldDefaults.getDouble(path));
|
||||
}
|
||||
|
||||
@@ -20,7 +27,7 @@ index 1c7b858ed5..9257da9680 100644
|
||||
/** ignored if {@link TuinityConfig#tickWorldsInParallel} == false */
|
||||
public int threads;
|
||||
|
||||
@@ -274,6 +279,18 @@ public final class TuinityConfig {
|
||||
@@ -274,6 +280,19 @@ public final class TuinityConfig {
|
||||
this.spawnLimitAmbient = this.getInt(path + ".ambient", -1);
|
||||
}
|
||||
|
||||
@@ -34,6 +41,7 @@ index 1c7b858ed5..9257da9680 100644
|
||||
+ } else if (!seedString.equalsIgnoreCase("default")) {
|
||||
+ this.populatorSeed = Long.parseLong(seedString);
|
||||
+ }
|
||||
+ TimingsManager.hiddenConfigs.add("worldgen.seeds.populator");
|
||||
+ }
|
||||
+
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user