Fix Quest Item Party GUI Objectives Display

This commit is contained in:
Kam committed 2024-03-07 05:11:46 -05:00
1 parent 7dd718dc93
commit 37ec5f7abf
1 file changed
+1 -4
@@ -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);
}
}