9
0
mirror of https://github.com/LeavesMC/Leaves.git synced 2025-12-27 19:09:23 +00:00

Fix replay mod api

This commit is contained in:
violetc
2023-08-08 23:12:30 +08:00
parent b50f77f2c7
commit d0e042a2e6
2 changed files with 8 additions and 6 deletions

View File

@@ -118,16 +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..0b4e41f9e2b04d1acf79a89b471528e50cd59a5d
index 0000000000000000000000000000000000000000..cc2deb0bfab358b23ab5c98a9d359e13c6565471
--- /dev/null
+++ b/src/main/java/top/leavesmc/leaves/replay/BukkitRecorderOption.java
@@ -0,0 +1,16 @@
@@ -0,0 +1,17 @@
+package top.leavesmc.leaves.replay;
+
+public class BukkitRecorderOption {
+
+ // public int recordDistance = -1;
+ public BukkitRecordWeather forceWeather = null;
+ public BukkitRecordWeather forceWeather = BukkitRecordWeather.NULL;
+ public int forceDayTime = -1;
+ public boolean ignoreChat = false;
+ // public boolean ignoreItem = false;
@@ -135,6 +135,7 @@ index 0000000000000000000000000000000000000000..0b4e41f9e2b04d1acf79a89b471528e5
+ public enum BukkitRecordWeather {
+ CLEAR,
+ RAIN,
+ THUNDER
+ THUNDER,
+ NULL
+ }
+}