Some compile fixes

This commit is contained in:
Nassim Jahnke 2023-06-07 23:35:19 +02:00
parent 838d8afd76
commit 3c8e176265
No known key found for this signature in database
GPG key ID: 6BE3B555EBC5982B
22 changed files with 61 additions and 61 deletions

View file

@ -12,7 +12,7 @@ public net.minecraft.world.level.pathfinder.Path nodes
diff --git a/src/main/java/com/destroystokyo/paper/entity/PaperPathfinder.java b/src/main/java/com/destroystokyo/paper/entity/PaperPathfinder.java
new file mode 100644
index 0000000000000000000000000000000000000000..2d799fec40afe7dade649a294761d272c83157f0
index 0000000000000000000000000000000000000000..7ba7add6475ff8d238897398c26de24de52c4cfd
--- /dev/null
+++ b/src/main/java/com/destroystokyo/paper/entity/PaperPathfinder.java
@@ -0,0 +1,143 @@
@ -156,7 +156,7 @@ index 0000000000000000000000000000000000000000..2d799fec40afe7dade649a294761d272
+ }
+
+ private Location toLoc(Node point) {
+ return new Location(entity.level.getWorld(), point.x, point.y, point.z);
+ return new Location(entity.level().getWorld(), point.x, point.y, point.z);
+ }
+}
diff --git a/src/main/java/net/minecraft/world/level/pathfinder/Path.java b/src/main/java/net/minecraft/world/level/pathfinder/Path.java