diff options
author | nea <romangraef@gmail.com> | 2022-02-10 21:16:41 +0100 |
---|---|---|
committer | nea <romangraef@gmail.com> | 2022-02-10 21:16:41 +0100 |
commit | 5324270800260afaea795934114a6bcd78e11c9f (patch) | |
tree | 4dd3d0700dec6032b6dd8c131a33ac86ecd3dff0 /src | |
parent | 6b0d7adb874e09f3022d22f16815cf07fbf0d828 (diff) | |
download | NotEnoughUpdates-5324270800260afaea795934114a6bcd78e11c9f.tar.gz NotEnoughUpdates-5324270800260afaea795934114a6bcd78e11c9f.tar.bz2 NotEnoughUpdates-5324270800260afaea795934114a6bcd78e11c9f.zip |
villager trades now in the changelogs, also dev mode support uiuiui
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/recipes/VillagerTradeRecipe.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/recipes/VillagerTradeRecipe.java b/src/main/java/io/github/moulberry/notenoughupdates/recipes/VillagerTradeRecipe.java index 761ca181..530e8e32 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/recipes/VillagerTradeRecipe.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/recipes/VillagerTradeRecipe.java @@ -4,6 +4,7 @@ import com.google.common.collect.Sets; import com.google.gson.JsonObject; import com.mojang.authlib.GameProfile; import io.github.moulberry.notenoughupdates.NEUManager; +import io.github.moulberry.notenoughupdates.NotEnoughUpdates; import io.github.moulberry.notenoughupdates.miscgui.GuiItemRecipe; import io.github.moulberry.notenoughupdates.util.SBInfo; import io.github.moulberry.notenoughupdates.util.Utils; @@ -95,7 +96,7 @@ public class VillagerTradeRecipe implements NeuRecipe { @Override public boolean isAvailable() { - return SBInfo.getInstance().getCurrentMode() == SBInfo.Gamemode.STRANDED; + return SBInfo.getInstance().getCurrentMode() == SBInfo.Gamemode.STRANDED || NotEnoughUpdates.INSTANCE.config.hidden.dev; } @Override |