mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-10 23:28:52 +07:00
Crash fix
This commit is contained in:
parent
c7622198fd
commit
7f21d61078
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user