Translatable #62
@ -872,6 +872,8 @@ STRUCTURE-VOID_COMMAND_HELP=§8/§estructureVoid §8-§7 Erhalte ein StructureVo
|
|||||||
NIGHT-VISION_COMMAND_HELP=§8/§enightvision §8-§7 Schalte Nightvision an oder aus.
|
NIGHT-VISION_COMMAND_HELP=§8/§enightvision §8-§7 Schalte Nightvision an oder aus.
|
||||||
NIGHT-VISION_OFF=§eNightvision deaktiviert
|
NIGHT-VISION_OFF=§eNightvision deaktiviert
|
||||||
NIGHT-VISION_ON=§eNightvision aktiviert
|
NIGHT-VISION_ON=§eNightvision aktiviert
|
||||||
|
NIGHT_VISION_ITEM_ON:&Nightvision: &eAktiviert
|
||||||
|
NIGHT_VISION_ITEM_OFF:&Nightvision: &eDeaktiviert
|
||||||
#Navigation Wand
|
#Navigation Wand
|
||||||
NAVIGATION_WAND=&eNavigation Wand
|
NAVIGATION_WAND=&eNavigation Wand
|
||||||
NAVIGATION_WAND_LEFT_CLICK="&eLeft click: jump to location"
|
NAVIGATION_WAND_LEFT_CLICK="&eLeft click: jump to location"
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
|
|
||||||
package de.steamwar.bausystem.features.util.items;
|
package de.steamwar.bausystem.features.util.items;
|
||||||
|
|
||||||
|
import de.steamwar.bausystem.BauSystem;
|
||||||
import de.steamwar.bausystem.Permission;
|
import de.steamwar.bausystem.Permission;
|
||||||
import de.steamwar.bausystem.config.ColorConfig;
|
import de.steamwar.bausystem.config.ColorConfig;
|
||||||
import de.steamwar.bausystem.linkage.specific.BauGuiItem;
|
import de.steamwar.bausystem.linkage.specific.BauGuiItem;
|
||||||
@ -46,12 +47,12 @@ public class NightVisionBauGuiItem extends BauGuiItem {
|
|||||||
ItemStack itemStack = new ItemStack(Material.POTION);
|
ItemStack itemStack = new ItemStack(Material.POTION);
|
||||||
PotionMeta meta = (PotionMeta) itemStack.getItemMeta();
|
PotionMeta meta = (PotionMeta) itemStack.getItemMeta();
|
||||||
meta.setColor(PotionEffectType.NIGHT_VISION.getColor());
|
meta.setColor(PotionEffectType.NIGHT_VISION.getColor());
|
||||||
meta.setDisplayName(ColorConfig.BASE + "Nightvision: " + ColorConfig.HIGHLIGHT + "Aktiviert");
|
meta.setDisplayName(BauSystem.MESSAGE.parse("NIGHT_VISION_ITEM_ON", player));
|
||||||
meta.addItemFlags(ItemFlag.HIDE_POTION_EFFECTS);
|
meta.addItemFlags(ItemFlag.HIDE_POTION_EFFECTS);
|
||||||
itemStack.setItemMeta(meta);
|
itemStack.setItemMeta(meta);
|
||||||
return itemStack;
|
return itemStack;
|
||||||
} else {
|
} else {
|
||||||
return new SWItem(Material.GLASS_BOTTLE, ColorConfig.BASE + "Nightvision: " + ColorConfig.HIGHLIGHT + "Deaktiviert").getItemStack();
|
return new SWItem(Material.GLASS_BOTTLE, BauSystem.MESSAGE.parse("NIGHT_VISION_ITEM_OFF", player)).getItemStack();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren