diff options
-rw-r--r-- | Update Notes/2.1.md | 1 | ||||
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/recipes/VillagerTradeRecipe.java | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Update Notes/2.1.md b/Update Notes/2.1.md index ee124398..d6618bd3 100644 --- a/Update Notes/2.1.md +++ b/Update Notes/2.1.md @@ -15,6 +15,7 @@ - [Price graph for items on /ah and /bz](https://cdn.discordapp.com/attachments/896407218151366687/926968296929107999/unknown.png) - DeDiamondPro ### **Minor Changes:** - Add built-in recipes for forge crafts - nea89 +- Add Stranded Villager Trades to the item list - nea89 - Make cata xp in /pv be calculated on how many runs you have and shows master mode xp rates - Hide mine waypoints when at location setting - Lulonaut - Added some info panels to some settings in /neu 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 |