HeatCrafter

This commit is contained in:
Anuken
2021-11-11 20:39:43 -05:00
parent a1107eae13
commit 51301a50cc
8 changed files with 94 additions and 14 deletions
+2 -2
View File
@@ -221,12 +221,12 @@ public class Build{
public static boolean contactsShallows(int x, int y, Block block){
if(block.isMultiblock()){
for(Point2 point : Edges.getInsideEdges(block.size)){
for(Point2 point : block.getInsideEdges()){
Tile tile = world.tile(x + point.x, y + point.y);
if(tile != null && !tile.floor().isDeep()) return true;
}
for(Point2 point : Edges.getEdges(block.size)){
for(Point2 point : block.getEdges()){
Tile tile = world.tile(x + point.x, y + point.y);
if(tile != null && !tile.floor().isDeep()) return true;
}