Skip to content

Commit

Permalink
Hide attributes from NPC GUI items
Browse files Browse the repository at this point in the history
  • Loading branch information
PikaMug committed May 20, 2021
1 parent 9949365 commit 60d319f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main/src/main/java/me/blackvein/quests/Quester.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
import org.bukkit.event.inventory.InventoryType;
import org.bukkit.event.player.AsyncPlayerChatEvent;
import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.ItemFlag;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.ItemMeta;
import org.bukkit.material.Crops;
Expand Down Expand Up @@ -3892,6 +3893,7 @@ public void showGUIDisplay(final NPC npc, final LinkedList<Quest> quests) {
}
meta.setLore(lines);
}
meta.addItemFlags(ItemFlag.values());
display.setItemMeta(meta);
inv.setItem(i, display);
i++;
Expand Down

0 comments on commit 60d319f

Please sign in to comment.