Anuken/Mindustry-Suggestions/issues/548

This commit is contained in:
Anuken
2020-09-20 16:35:25 -04:00
parent b2d054c1f2
commit 401384ae5b
3 changed files with 11 additions and 13 deletions

View File

@@ -55,7 +55,7 @@ public class Wall extends Block{
@Override
public boolean canReplace(Block other){
return super.canReplace(other) && health > other.health && size == other.size;
return (other != this || rotate) && this.group != BlockGroup.none && other.group == this.group && health > other.health && size >= other.size;
}
public class WallBuild extends Building{