aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/miscgui/AccessoryBagOverlay.java
diff options
context:
space:
mode:
authorNopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com>2022-04-18 10:54:18 +0000
committerGitHub <noreply@github.com>2022-04-18 12:54:18 +0200
commit9fe86ccb4d30b78826e513a6576027ca6e4c1600 (patch)
treead63737ab7fa06daa6554a7c873142c10d32c167 /src/main/java/io/github/moulberry/notenoughupdates/miscgui/AccessoryBagOverlay.java
parentc983bb5785318c54d5be59907410b4dfe6d39b64 (diff)
downloadnotenoughupdates-9fe86ccb4d30b78826e513a6576027ca6e4c1600.tar.gz
notenoughupdates-9fe86ccb4d30b78826e513a6576027ca6e4c1600.tar.bz2
notenoughupdates-9fe86ccb4d30b78826e513a6576027ca6e4c1600.zip
Fixed stuff from the project board (#112)
* Fix /et not closing when clicking inventory keybind * Made it so calendar timer in inventory works if you have no event data * Made it if you hold shift in the enchant solvers it overrides prevent missclicks * Revert "Made it so calendar timer in inventory works if you have no event data" This reverts commit d2ee3ebc679da5a231d35a9d54eb10c701daff1d. * made crash not crash * consistency fixes for my heart * fix https://cdn.discordapp.com/attachments/832652653292027904/964353119557394462/unknown.png * fix https://i.imgur.com/Z3qChN3.png Co-authored-by: jani270 <jani270@gmx.de>
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/miscgui/AccessoryBagOverlay.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscgui/AccessoryBagOverlay.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/AccessoryBagOverlay.java b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/AccessoryBagOverlay.java
index f2205c49..95e21cd0 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/AccessoryBagOverlay.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/AccessoryBagOverlay.java
@@ -836,7 +836,7 @@ public class AccessoryBagOverlay {
GuiChest eventGui = (GuiChest) Minecraft.getMinecraft().currentScreen;
ContainerChest cc = (ContainerChest) eventGui.inventorySlots;
String containerName = cc.getLowerChestInventory().getDisplayName().getUnformattedText();
- if (containerName.trim().startsWith("Accessory Bag")) {
+ if (containerName.trim().startsWith("Accessory Bag") && !containerName.contains("Thaumaturgy") && !containerName.contains("Upgrades")) {
inAccessoryBag = true;
try {
int xSize = (int) Utils.getField(GuiContainer.class, eventGui, "xSize", "field_146999_f");