aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornea <romangraef@gmail.com>2022-02-10 21:16:41 +0100
committernea <romangraef@gmail.com>2022-02-10 21:16:41 +0100
commit5324270800260afaea795934114a6bcd78e11c9f (patch)
tree4dd3d0700dec6032b6dd8c131a33ac86ecd3dff0
parent6b0d7adb874e09f3022d22f16815cf07fbf0d828 (diff)
downloadNotEnoughUpdates-5324270800260afaea795934114a6bcd78e11c9f.tar.gz
NotEnoughUpdates-5324270800260afaea795934114a6bcd78e11c9f.tar.bz2
NotEnoughUpdates-5324270800260afaea795934114a6bcd78e11c9f.zip
villager trades now in the changelogs, also dev mode support uiuiui
-rw-r--r--Update Notes/2.1.md1
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/recipes/VillagerTradeRecipe.java3
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