Added logic autoPathfind command

This commit is contained in:
Anuken
2023-08-13 11:05:43 -04:00
parent 2b05264093
commit 2f991a85af
6 changed files with 33 additions and 1 deletions
+1 -1
View File
@@ -407,7 +407,7 @@ public class LExecutor{
float x1 = World.unconv(exec.numf(p1)), y1 = World.unconv(exec.numf(p2)), d1 = World.unconv(exec.numf(p3));
switch(type){
case idle -> {
case idle, autoPathfind -> {
ai.control = type;
}
case move, stop, approach, pathfind -> {