fix: legacy terminal now has show craftable button
This commit is contained in:
parent
cf4610a333
commit
15dd2c4a2f
|
@ -72,6 +72,7 @@ public class GuiMEMonitorable
|
|||
private final int lowerTextureOffset = 0;
|
||||
private final IConfigManager configSrc;
|
||||
private final boolean viewCell;
|
||||
private final boolean isNetwork;
|
||||
private final ItemStack[] myCurrentViewCells = new ItemStack[5];
|
||||
private final ContainerMEMonitorable monitorableContainer;
|
||||
private GuiTabButton craftingStatusBtn;
|
||||
|
@ -120,6 +121,7 @@ public class GuiMEMonitorable
|
|||
.setGui(this);
|
||||
|
||||
this.viewCell = te instanceof IViewCellStorage;
|
||||
this.isNetwork = this.viewCell || te instanceof TileTerminal;
|
||||
|
||||
if (te instanceof TileSecurity) {
|
||||
this.myName = GuiText.Security;
|
||||
|
@ -275,7 +277,7 @@ public class GuiMEMonitorable
|
|||
offset += 20;
|
||||
}
|
||||
|
||||
if (this.viewCell || this instanceof GuiWirelessTerm) {
|
||||
if (this.isNetwork || this instanceof GuiWirelessTerm) {
|
||||
this.buttonList.add(
|
||||
this.ViewBox = new GuiImgButton(
|
||||
this.guiLeft - 18,
|
||||
|
|
Loading…
Reference in New Issue