Proper #5872
This commit is contained in:
@@ -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()){
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user