More bugfixes

This commit is contained in:
Anuken
2018-02-27 19:13:08 -05:00
parent 828dd78611
commit f72fd01050
9 changed files with 26 additions and 18 deletions

View File

@@ -169,8 +169,8 @@ public class Pathfind{
/**Reset and clear the paths.*/
public void resetPaths(){
for(SpawnPoint point : world.getSpawns()){
resetPathFor(point);
for(int i = 0; i < world.getSpawns().size; i ++){
resetPathFor(world.getSpawns().get(i));
}
}