mirror of
https://github.com/LeavesMC/Leaves.git
synced 2025-12-27 19:09:23 +00:00
Try fix (#26)
This commit is contained in:
@@ -787,7 +787,7 @@ index 0000000000000000000000000000000000000000..07b688d376a4af88305e57519a5ae983
|
||||
+}
|
||||
diff --git a/src/main/java/top/leavesmc/leaves/bot/BotUtil.java b/src/main/java/top/leavesmc/leaves/bot/BotUtil.java
|
||||
new file mode 100644
|
||||
index 0000000000000000000000000000000000000000..e5379b8a7494bc24f010cd7c52a2be52b7909ad2
|
||||
index 0000000000000000000000000000000000000000..2390cc3fd47e1790fa08f4867606013880a3feb5
|
||||
--- /dev/null
|
||||
+++ b/src/main/java/top/leavesmc/leaves/bot/BotUtil.java
|
||||
@@ -0,0 +1,102 @@
|
||||
@@ -865,7 +865,7 @@ index 0000000000000000000000000000000000000000..e5379b8a7494bc24f010cd7c52a2be52
|
||||
+ double pos_z = bot.getZ();
|
||||
+ float yaw = bot.getYRot();
|
||||
+ float pitch = bot.getXRot();
|
||||
+ String dimension = bot.level.dimension().location().getPath();
|
||||
+ String dimension = bot.getLocation().getWorld()·getName();
|
||||
+ String skin = bot.skinName == null ? "null" : bot.skinName;
|
||||
+ JsonObject fakePlayer = new JsonObject();
|
||||
+ fakePlayer.addProperty("pos_x", pos_x);
|
||||
|
||||
Reference in New Issue
Block a user