This commit is contained in:
Anuken
2021-08-26 15:07:08 -04:00
parent c25e6b586b
commit 139d6cd5cc
2 changed files with 1 additions and 3 deletions

View File

@@ -372,8 +372,6 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
} }
if(selectAlpha > 0.001f){ if(selectAlpha > 0.001f){
for(Sector sec : planet.sectors){ for(Sector sec : planet.sectors){
if(sec.hasBase()){ if(sec.hasBase()){
for(Sector enemy : sec.near()){ for(Sector enemy : sec.near()){

View File

@@ -195,7 +195,7 @@ public class Drill extends Block{
} }
public boolean canMine(Tile tile){ public boolean canMine(Tile tile){
if(tile == null) return false; if(tile == null || tile.block().isStatic()) return false;
Item drops = tile.drop(); Item drops = tile.drop();
return drops != null && drops.hardness <= tier; return drops != null && drops.hardness <= tier;
} }