mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-09 23:37:51 +07:00

committed by
GitHub

parent
44d10a355e
commit
2146b35e5a
@ -491,7 +491,7 @@ public class Tile implements Position, QuadTreeObject, Displayable{
|
||||
return block.solid && block.fillsTile && !block.synthetic() ? data : 0;
|
||||
}
|
||||
|
||||
/** @return true if these tiles are right next to eacho ther. */
|
||||
/** @return true if these tiles are right next to each other. */
|
||||
public boolean adjacentTo(Tile tile){
|
||||
return relativeTo(tile) != -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user