diff --git a/core/src/mindustry/world/blocks/distribution/Router.java b/core/src/mindustry/world/blocks/distribution/Router.java index 141f188446..169f3b4e60 100644 --- a/core/src/mindustry/world/blocks/distribution/Router.java +++ b/core/src/mindustry/world/blocks/distribution/Router.java @@ -23,6 +23,12 @@ public class Router extends Block{ noUpdateDisabled = true; } + @Override + public boolean canReplace(Block other){ + if(other.alwaysReplace) return true; + return (other != this || rotate) && this.group != BlockGroup.none && other.group == this.group && size >= other.size; + } + public class RouterBuild extends Building implements ControlBlock{ public Item lastItem; public Tile lastInput;