diff --git a/core/src/mindustry/world/blocks/distribution/Router.java b/core/src/mindustry/world/blocks/distribution/Router.java index f632be6862..766a1bafff 100644 --- a/core/src/mindustry/world/blocks/distribution/Router.java +++ b/core/src/mindustry/world/blocks/distribution/Router.java @@ -104,7 +104,7 @@ public class Router extends Block{ if(unit.isShooting()){ Building other = nearby(angle); - if(other.acceptItem(this, item)){ + if(other != null && other.acceptItem(this, item)){ return other; } }