Fixed override issue
This commit is contained in:
@@ -133,9 +133,10 @@ public class Pathfinder implements Runnable{
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
int arr = other.array();
|
||||||
//the other tile is no longer near solid, remove the solid bit
|
//the other tile is no longer near solid, remove the solid bit
|
||||||
if(!otherNearSolid && tiles.length > other.array()){
|
if(!otherNearSolid && tiles.length > arr){
|
||||||
tiles[other.array()] &= ~(PathTile.bitMaskNearSolid);
|
tiles[arr] &= ~(PathTile.bitMaskNearSolid);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -39,9 +39,9 @@ public class EditorTile extends Tile{
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setBlock(Block type, Team team, int rotation){
|
public void setBlock(Block type, Team team, int rotation, Prov<Building> entityprov){
|
||||||
if(skip()){
|
if(skip()){
|
||||||
super.setBlock(type, team, rotation);
|
super.setBlock(type, team, rotation, entityprov);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -63,7 +63,7 @@ public class EditorTile extends Tile{
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
super.setBlock(type, team, rotation);
|
super.setBlock(type, team, rotation, entityprov);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user