Fixed Issue 12024 (#12026)

This commit is contained in:
Beonicwulf 2026-05-02 19:07:05 +03:00 committed by GitHub
parent 4bd8fcc495
commit ff4d02ec8d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -123,6 +123,15 @@ public class DuctRouter extends Block{
ItemSelection.buildTable(DuctRouter.this, table, content.items(), () -> sortItem, this::configure);
}
@Override
public void configured(Unit player, Object value){
super.configured(player, value);
if(!headless){
renderer.minimap.update(tile);
}
}
@Nullable
public Building target(){
if(current == null) return null;