aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common/gui
diff options
context:
space:
mode:
authormiozune <miozune@gmail.com>2023-06-12 22:34:32 +0900
committerGitHub <noreply@github.com>2023-06-12 15:34:32 +0200
commit6dc5ba69cbda530c58653e095fff2815cd4614cb (patch)
tree803a0a7f73bcb4518574bd72114c7581982438b4 /src/main/java/gregtech/common/gui
parenta9cfdc9f304aeeaea578891e3635d070656ffaec (diff)
downloadGT5-Unofficial-6dc5ba69cbda530c58653e095fff2815cd4614cb.tar.gz
GT5-Unofficial-6dc5ba69cbda530c58653e095fff2815cd4614cb.tar.bz2
GT5-Unofficial-6dc5ba69cbda530c58653e095fff2815cd4614cb.zip
Fix warning when closing circuit selection window (#2079)
Diffstat (limited to 'src/main/java/gregtech/common/gui')
-rw-r--r--src/main/java/gregtech/common/gui/modularui/uifactory/SelectItemUIFactory.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/gregtech/common/gui/modularui/uifactory/SelectItemUIFactory.java b/src/main/java/gregtech/common/gui/modularui/uifactory/SelectItemUIFactory.java
index 91be04d6f6..4845b2ccfb 100644
--- a/src/main/java/gregtech/common/gui/modularui/uifactory/SelectItemUIFactory.java
+++ b/src/main/java/gregtech/common/gui/modularui/uifactory/SelectItemUIFactory.java
@@ -190,6 +190,7 @@ public class SelectItemUIFactory {
}.setOnClick(
(clickData, widget) -> widget.getWindow()
.tryClose())
+ .setSynced(false, false)
.setBackground(ModularUITextures.VANILLA_BACKGROUND, new Text("x"))
.setPos(getGUIWidth() - 15, 3)
.setSize(12, 12));