0
0
mirror of https://github.com/Wurst-Imperium/Wurst7.git synced 2024-09-19 17:02:13 +02:00

Fix AntiAFK never resetting if it goes off the path

This commit is contained in:
Alexander01998 2024-05-28 20:26:30 +02:00
parent 92fcaffae6
commit bdb607ce94

View File

@ -162,7 +162,8 @@ public final class AntiAfkHack extends Hack
// check path
if(processor != null
&& !pathFinder.isPathStillValid(processor.getIndex()))
&& !pathFinder.isPathStillValid(processor.getIndex())
|| processor.getTicksOffPath() > 20)
{
pathFinder = new RandomPathFinder(pathFinder);
return;