aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com>2024-08-14 01:18:35 +1000
committerGitHub <noreply@github.com>2024-08-13 17:18:35 +0200
commit30479790c8f47eb59bc0157cecf3bf4fb8ad5963 (patch)
tree9dceef96ac7142688a06ef6107fff600985a9e2e
parente8005ef18dda906a2b5c6db1e86eb65be692405a (diff)
downloadnotenoughupdates-30479790c8f47eb59bc0157cecf3bf4fb8ad5963.tar.gz
notenoughupdates-30479790c8f47eb59bc0157cecf3bf4fb8ad5963.tar.bz2
notenoughupdates-30479790c8f47eb59bc0157cecf3bf4fb8ad5963.zip
Fix neubuttons and such showing in the rift warp menu (#1325)
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/util/NotificationHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/util/NotificationHandler.java b/src/main/java/io/github/moulberry/notenoughupdates/util/NotificationHandler.java
index 99a39d0a..a61a84a0 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/util/NotificationHandler.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/util/NotificationHandler.java
@@ -112,7 +112,7 @@ public class NotificationHandler {
GuiChest eventGui = (GuiChest) gui;
ContainerChest cc = (ContainerChest) eventGui.inventorySlots;
String containerName = cc.getLowerChestInventory().getDisplayName().getUnformattedText();
- if (containerName.trim().equals("Fast Travel")) {
+ if (containerName.trim().equals("Fast Travel") || containerName.trim().equals("Porhtal")) {
validGui = false;
}
}