Skip to content

Commit 0b7b7b4

Browse files
committed
[update] 全部見せないように
1 parent fcb6c8d commit 0b7b7b4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/com/github/elic0de/thejpspit/spigot/item/PitItemEntry.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ public final ItemStack getItemStack() {
3636
ItemMeta itemMeta = itemStack.getItemMeta();
3737
if (itemMeta != null) {
3838
itemMeta.getPersistentDataContainer().set(itemIdKey, PersistentDataType.STRING, this.getId());
39-
itemMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
40-
itemMeta.addItemFlags(ItemFlag.HIDE_UNBREAKABLE);
39+
itemMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES, ItemFlag.HIDE_ENCHANTS, ItemFlag.HIDE_DYE, ItemFlag.HIDE_UNBREAKABLE, ItemFlag.HIDE_PLACED_ON, ItemFlag.HIDE_DESTROYS);
4140
itemStack.setItemMeta(itemMeta);
4241
}
4342
return itemStack;

0 commit comments

Comments
 (0)