1
0
mirror of https://github.com/Anuken/Mindustry.git synced 2024-10-06 21:07:25 +03:00

Deconstructable Core in Editor Mode (#7090)

* Deconstructable Core in Editor Mode

* I hate it when
This commit is contained in:
JniTrRny 2022-06-29 22:33:04 +07:00 committed by GitHub
parent 8d6807a79d
commit a5cb7b09eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ public class ShieldBreaker extends Block{
@Override
public boolean canBreak(Tile tile){
return false;
return Vars.state.isEditor();
}
public class ShieldBreakerBuild extends Building{

View File

@ -115,7 +115,7 @@ public class CoreBlock extends StorageBlock{
@Override
public boolean canBreak(Tile tile){
return false;
return state.isEditor();
}
@Override