mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-21 13:17:39 +07:00
Proper #5872
This commit is contained in:
@ -372,8 +372,6 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
|
||||
}
|
||||
|
||||
if(selectAlpha > 0.001f){
|
||||
|
||||
|
||||
for(Sector sec : planet.sectors){
|
||||
if(sec.hasBase()){
|
||||
for(Sector enemy : sec.near()){
|
||||
|
@ -195,7 +195,7 @@ public class Drill extends Block{
|
||||
}
|
||||
|
||||
public boolean canMine(Tile tile){
|
||||
if(tile == null) return false;
|
||||
if(tile == null || tile.block().isStatic()) return false;
|
||||
Item drops = tile.drop();
|
||||
return drops != null && drops.hardness <= tier;
|
||||
}
|
||||
|
Reference in New Issue
Block a user