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:
parent
8d6807a79d
commit
a5cb7b09eb
@ -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{
|
||||
|
@ -115,7 +115,7 @@ public class CoreBlock extends StorageBlock{
|
||||
|
||||
@Override
|
||||
public boolean canBreak(Tile tile){
|
||||
return false;
|
||||
return state.isEditor();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user