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:
Alex "mcmonkey" Goodwin 2018-12-07 15:00:47 -08:00 committed by fullwall
parent 2a65357aff
commit 62d264bf31

View File

@ -94,6 +94,9 @@ public class PlayerPathfinderNormal extends PlayerPathfinderAbstract {
return null;
}
}
else {
break;
}
}
if (n == -2) {
return null;