mirror of
https://github.com/MassiveCraft/Factions.git
synced 2024-12-02 23:23:26 +01:00
Hide attributes in relation as well
This commit is contained in:
parent
c88e04a806
commit
54a35929e6
@ -7,6 +7,7 @@ import com.massivecraft.factions.zcore.util.TL;
|
||||
import org.bukkit.ChatColor;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.configuration.ConfigurationSection;
|
||||
import org.bukkit.inventory.ItemFlag;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
import org.bukkit.inventory.meta.ItemMeta;
|
||||
|
||||
@ -215,6 +216,7 @@ public enum Relation implements Permissable {
|
||||
|
||||
itemMeta.setDisplayName(displayName);
|
||||
itemMeta.setLore(lore);
|
||||
itemMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
|
||||
item.setItemMeta(itemMeta);
|
||||
|
||||
return item;
|
||||
|
Loading…
Reference in New Issue
Block a user