mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-02-27 01:32:06 +01:00
Patch 1.8 pathfinding issue (#1629)
Some users have reported 1.8 server freezing here - looks like the original NMS method was miscopied, this patch should bring it properly in-line.
This commit is contained in:
parent
2a65357aff
commit
62d264bf31
@ -94,6 +94,9 @@ public class PlayerPathfinderNormal extends PlayerPathfinderAbstract {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (n == -2) {
|
if (n == -2) {
|
||||||
return null;
|
return null;
|
||||||
|
Loading…
Reference in New Issue
Block a user