aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/recipes/RecipeGenerator.java
diff options
context:
space:
mode:
authorRoman / Nea <roman.graef@gmail.com>2022-05-31 20:53:26 +0200
committerGitHub <noreply@github.com>2022-05-31 20:53:26 +0200
commitdfdc2d9519556dfec528ab9d1732cdf32aab0639 (patch)
tree6f046db7b581f40b2deedd202ceaf98ba9ec2567 /src/main/java/io/github/moulberry/notenoughupdates/recipes/RecipeGenerator.java
parenta6546a1abe954b394c40be58d73d6fb03d93709e (diff)
downloadnotenoughupdates-dfdc2d9519556dfec528ab9d1732cdf32aab0639.tar.gz
notenoughupdates-dfdc2d9519556dfec528ab9d1732cdf32aab0639.tar.bz2
notenoughupdates-dfdc2d9519556dfec528ab9d1732cdf32aab0639.zip
Move repository related configuration to GUI. (#151)
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/recipes/RecipeGenerator.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/recipes/RecipeGenerator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/recipes/RecipeGenerator.java b/src/main/java/io/github/moulberry/notenoughupdates/recipes/RecipeGenerator.java
index b7d4a321..3e3b06b1 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/recipes/RecipeGenerator.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/recipes/RecipeGenerator.java
@@ -48,7 +48,7 @@ public class RecipeGenerator {
@SubscribeEvent
public void onTick(TickEvent event) {
- if (!neu.config.hidden.enableItemEditing) return;
+ if (!neu.config.apiData.repositoryEditing) return;
GuiScreen currentScreen = Minecraft.getMinecraft().currentScreen;
if (currentScreen == null) return;
if (!(currentScreen instanceof GuiChest)) return;