Use slightly faster ArrayDeqeue instead of LinkedList. Check boolean fields before more complex datatypes
This commit is contained in:
+1
-1
@@ -402,7 +402,7 @@ public class PathGridCache implements IPathingGrid
|
||||
@Override
|
||||
public boolean isNetworkBooting()
|
||||
{
|
||||
return !this.active.isEmpty() && !this.booting;
|
||||
return !this.booting && !this.active.isEmpty();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user