Crash fix

This commit is contained in:
Anuken 2018-09-12 10:18:45 -04:00
parent d65beea179
commit 2ee87ad078

View File

@ -38,7 +38,7 @@ public class Sorter extends Block implements SelectionTrait{
@Remote(targets = Loc.both, called = Loc.both, forward = true)
public static void setSorterItem(Player player, Tile tile, Item item){
SorterEntity entity = tile.entity();
entity.sortItem = item;
if(entity != null) entity.sortItem = item;
}
@Override