Crash fix

This commit is contained in:
Anuken 2020-10-18 19:54:52 -04:00
parent c7622198fd
commit 7f21d61078

View File

@ -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;
}
}