Improved rubble and VTOL accuracy

This commit is contained in:
Anuken
2018-05-01 19:07:13 -04:00
parent 131f646024
commit 036f233946
17 changed files with 719 additions and 653 deletions
@@ -58,7 +58,8 @@ public class BlockIndexer {
}
private void process(Tile tile){
if(tile.block().flags != null){
if(tile.block().flags != null &&
tile.getTeam() != Team.none){
ObjectMap<BlockFlag, ObjectSet<Tile>> map = getMap(tile.getTeam());
for(BlockFlag flag : tile.block().flags){