aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io
diff options
context:
space:
mode:
authorDoKM <mcazzyman@gmail.com>2021-07-31 16:20:49 +0200
committerDoKM <mcazzyman@gmail.com>2021-07-31 16:20:49 +0200
commit733dd2d84b022a758fd0de68103c1c15f2f653d4 (patch)
treeaf58d67387b9f282c19bca4308d024418d9573ba /src/main/java/io
parentd81917266f02e43837ac98e99c867c9766b897d4 (diff)
downloadNotEnoughUpdates-733dd2d84b022a758fd0de68103c1c15f2f653d4.tar.gz
NotEnoughUpdates-733dd2d84b022a758fd0de68103c1c15f2f653d4.tar.bz2
NotEnoughUpdates-733dd2d84b022a758fd0de68103c1c15f2f653d4.zip
Enable custom enchant gui for dev mode
Diffstat (limited to 'src/main/java/io')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscgui/GuiCustomEnchant.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/GuiCustomEnchant.java b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/GuiCustomEnchant.java
index 381c8944..1b07ebdc 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/GuiCustomEnchant.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/GuiCustomEnchant.java
@@ -199,7 +199,8 @@ public class GuiCustomEnchant extends Gui {
}
public boolean shouldOverride(String containerName) {
- if(true) {
+
+ if(!NotEnoughUpdates.INSTANCE.config.hidden.dev) {
shouldOverrideFast = false;
return false;
}