mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-13 22:25:50 +01:00
Hide attributes from NPC GUI items
This commit is contained in:
parent
9949365cdf
commit
60d319f818
@ -46,6 +46,7 @@ import org.bukkit.entity.Player;
|
||||
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;
|
||||
@ -3892,6 +3893,7 @@ public class Quester implements Comparable<Quester> {
|
||||
}
|
||||
meta.setLore(lines);
|
||||
}
|
||||
meta.addItemFlags(ItemFlag.values());
|
||||
display.setItemMeta(meta);
|
||||
inv.setItem(i, display);
|
||||
i++;
|
||||
|
Loading…
Reference in New Issue
Block a user