Fix another sorter crash

This commit is contained in:
Anuken
2017-12-14 11:38:06 -05:00
parent 8205745f9d
commit 1acc47190c

View File

@@ -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){