Dynamic pathfinding

This commit is contained in:
Anuken
2020-05-28 11:27:42 -04:00
parent 638343d25e
commit ed795076f0
13 changed files with 216 additions and 84 deletions

View File

@ -405,7 +405,7 @@ public class ServerControl implements ApplicationListener{
return;
}
Team team = arg.length == 0 ? Team.sharded : Structs.find(Team.all(), t -> t.name.equals(arg[0]));
Team team = arg.length == 0 ? Team.sharded : Structs.find(Team.all, t -> t.name.equals(arg[0]));
if(team == null){
err("No team with that name found.");