9
0
mirror of https://github.com/LeavesMC/Leaves.git synced 2025-12-29 11:59:17 +00:00

[ci skip] Update Replay API, add custom server name

This commit is contained in:
violetc
2023-08-09 10:42:01 +08:00
parent d0e042a2e6
commit 3ca346a4d7
2 changed files with 9 additions and 6 deletions

View File

@@ -118,15 +118,16 @@ index 0000000000000000000000000000000000000000..4c2ef73e9668918d45d9e3ad250c7c20
+}
diff --git a/src/main/java/top/leavesmc/leaves/replay/BukkitRecorderOption.java b/src/main/java/top/leavesmc/leaves/replay/BukkitRecorderOption.java
new file mode 100644
index 0000000000000000000000000000000000000000..cc2deb0bfab358b23ab5c98a9d359e13c6565471
index 0000000000000000000000000000000000000000..3df4a6055b91c28e273d6fb2697b608778f40a9c
--- /dev/null
+++ b/src/main/java/top/leavesmc/leaves/replay/BukkitRecorderOption.java
@@ -0,0 +1,17 @@
@@ -0,0 +1,18 @@
+package top.leavesmc.leaves.replay;
+
+public class BukkitRecorderOption {
+
+ // public int recordDistance = -1;
+ public String serverName = "Leaves";
+ public BukkitRecordWeather forceWeather = BukkitRecordWeather.NULL;
+ public int forceDayTime = -1;
+ public boolean ignoreChat = false;