mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-04-26 07:20:51 -07:00
parent
bb380f7feb
commit
5c48ae2158
3 changed files with 4 additions and 1 deletions
Binary file not shown.
Binary file not shown.
|
|
@ -14,7 +14,7 @@ import mindustry.world.meta.*;
|
|||
|
||||
import java.io.*;
|
||||
|
||||
import static mindustry.Vars.content;
|
||||
import static mindustry.Vars.*;
|
||||
|
||||
public class Sorter extends Block{
|
||||
private static Item lastItem;
|
||||
|
|
@ -46,6 +46,9 @@ public class Sorter extends Block{
|
|||
@Override
|
||||
public void configured(Tile tile, Player player, int value){
|
||||
tile.<SorterEntity>ent().sortItem = content.item(value);
|
||||
if(!headless){
|
||||
renderer.minimap.update(tile);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue