aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common
diff options
context:
space:
mode:
authormiozune <miozune@gmail.com>2022-12-18 22:59:49 +0900
committerGitHub <noreply@github.com>2022-12-18 14:59:49 +0100
commite3e077b34f825d9f09da8fe7191251c1dcd9bbd5 (patch)
treeff591c39bd6bf7c2cc1f9149daa031e5c2fcf9c9 /src/main/java/gregtech/common
parent9dd5247e20ef96b5131308a592a405bc4c169322 (diff)
downloadGT5-Unofficial-e3e077b34f825d9f09da8fe7191251c1dcd9bbd5.tar.gz
GT5-Unofficial-e3e077b34f825d9f09da8fe7191251c1dcd9bbd5.tar.bz2
GT5-Unofficial-e3e077b34f825d9f09da8fe7191251c1dcd9bbd5.zip
Fix Regulator cannot control stack size of ghost slot (#1558)
Diffstat (limited to 'src/main/java/gregtech/common')
-rw-r--r--src/main/java/gregtech/common/tileentities/automation/GT_MetaTileEntity_Regulator.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/gregtech/common/tileentities/automation/GT_MetaTileEntity_Regulator.java b/src/main/java/gregtech/common/tileentities/automation/GT_MetaTileEntity_Regulator.java
index 39151cedff..5abb6d804b 100644
--- a/src/main/java/gregtech/common/tileentities/automation/GT_MetaTileEntity_Regulator.java
+++ b/src/main/java/gregtech/common/tileentities/automation/GT_MetaTileEntity_Regulator.java
@@ -184,7 +184,8 @@ public class GT_MetaTileEntity_Regulator extends GT_MetaTileEntity_Buffer implem
.phantom(true)
.startFromSlot(9)
.endAtSlot(17)
- .applyForWidget(widget -> widget.setBackground(GT_UITextures.TRANSPARENT))
+ .applyForWidget(
+ widget -> widget.setControlsAmount(true).setBackground(GT_UITextures.TRANSPARENT))
.build()
.setPos(62, 5))
.widget(new DrawableWidget()