forked from SteamWar/SteamWar
Bausystem geht™️
This commit is contained in:
-1
@@ -47,7 +47,6 @@ public class NightVisionBauGuiItem extends BauGuiItem {
|
||||
PotionMeta meta = (PotionMeta) itemStack.getItemMeta();
|
||||
meta.setColor(PotionEffectType.NIGHT_VISION.getColor());
|
||||
meta.setDisplayName(BauSystem.MESSAGE.parse("NIGHT_VISION_ITEM_ON", player));
|
||||
meta.addItemFlags(ItemFlag.HIDE_POTION_EFFECTS);
|
||||
meta.setCustomModelData(1);
|
||||
itemStack.setItemMeta(meta);
|
||||
return itemStack;
|
||||
|
||||
Reference in New Issue
Block a user