mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-21 20:18:06 +07:00
Crash fix
This commit is contained in:
parent
d65beea179
commit
2ee87ad078
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user