From 30479790c8f47eb59bc0157cecf3bf4fb8ad5963 Mon Sep 17 00:00:00 2001 From: NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> Date: Wed, 14 Aug 2024 01:18:35 +1000 Subject: Fix neubuttons and such showing in the rift warp menu (#1325) --- .../io/github/moulberry/notenoughupdates/util/NotificationHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- cgit