mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-10-02 11:10:50 +03:00
Fixed #11880
This commit is contained in:
@@ -1197,7 +1197,7 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
|
||||
|
||||
stable.table(title -> {
|
||||
title.add("[accent]" + sector.name() + (debugSelect && (sector.info.name != null || sector.preset != null) ? " [lightgray](" + sector.id + ")" : "")).padLeft(3);
|
||||
if(sector.preset == null){
|
||||
if(sector.preset == null || (!sector.preset.requireUnlock)){
|
||||
title.add().growX();
|
||||
|
||||
title.button(Icon.pencilSmall, Styles.clearNonei, () -> {
|
||||
|
||||
@@ -743,6 +743,9 @@ public class Block extends UnlockableContent implements Senseable{
|
||||
offset = ((size + 1) % 2) * tilesize / 2f;
|
||||
sizeOffset = -((size - 1) / 2);
|
||||
|
||||
itemFilter = new boolean[content.items().size];
|
||||
liquidFilter = new boolean[content.liquids().size];
|
||||
|
||||
if(consumeBuilder.size != 0){
|
||||
for(var consume : consumeBuilder){
|
||||
consume.apply(this);
|
||||
|
||||
Reference in New Issue
Block a user