From 37ec5f7abf4db9e5f58cec4c5ec3948e54177a5a Mon Sep 17 00:00:00 2001 From: Kam Date: Thu, 7 Mar 2024 05:11:46 -0500 Subject: [PATCH] Fix Quest Item Party GUI Objectives Display --- src/main/java/noppes/npcs/quests/QuestItem.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/java/noppes/npcs/quests/QuestItem.java b/src/main/java/noppes/npcs/quests/QuestItem.java index 3bb3a447c..124b369e6 100644 --- a/src/main/java/noppes/npcs/quests/QuestItem.java +++ b/src/main/java/noppes/npcs/quests/QuestItem.java @@ -204,10 +204,7 @@ public class QuestItem extends QuestInterface implements IQuestItem { continue; if(item.stackSize > quest.stackSize) continue; - if(item.hasDisplayName()) - slotCurrent.add(player.getCommandSenderName() + ": " + item.getDisplayName() + ": " + item.stackSize); - else - slotCurrent.add(player.getCommandSenderName() + ": " + item.getUnlocalizedName() + ".name" + ": " + item.stackSize); + slotCurrent.add(player.getCommandSenderName() + ": " + item.stackSize); playerVector.put(slot, slotCurrent); } }