get offline player data file from the right folder

This commit is contained in:
Lulu13022002
2024-12-18 21:54:15 +01:00
parent dce53e05b8
commit c71ada60db
5 changed files with 4 additions and 14 deletions

View File

@@ -1,10 +0,0 @@
--- a/net/minecraft/world/level/pathfinder/Path.java
+++ b/net/minecraft/world/level/pathfinder/Path.java
@@ -18,6 +_,7 @@
private final BlockPos target;
private final float distToTarget;
private final boolean reached;
+ public boolean hasNext() { return getNextNodeIndex() < this.nodes.size(); } // Paper - Mob Pathfinding API
public Path(List<Node> nodes, BlockPos target, boolean reached) {
this.nodes = nodes;