mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-09-22 05:47:44 +03:00
Fix another sorter crash
This commit is contained in:
parent
8205745f9d
commit
1acc47190c
@ -59,6 +59,7 @@ public class Sorter extends Junction implements Configurable{
|
||||
SorterEntity entity = dest.entity();
|
||||
|
||||
int dir = source.relativeTo(dest.x, dest.y);
|
||||
if(dir == -1) return null;
|
||||
Tile to = null;
|
||||
|
||||
if(item == entity.sortItem){
|
||||
|
Loading…
Reference in New Issue
Block a user