Windows color code fix

Fixed an issue where colors in the inventory were displayed incorrectly
on Windows systems
This commit is contained in:
ZakeyWolf 2015-10-26 22:44:24 +01:00
parent 4a4e5854dc
commit 41c033132d

View File

@ -12,12 +12,12 @@ import org.bukkit.inventory.meta.ItemMeta;
public class JetpackItem
{
private static final String LORE_PLUGIN_IDENTIFIER = "§r§a> Jetpack";
private static final String LORE_PROFILE_NAME = "§r§7#%var%";
private static final String LORE_FUEL_LEVEL = "§r§eFuel: %var%";
private static final String LORE_PLUGIN_IDENTIFIER = "\u00A7r\u00A7a> Jetpack";
private static final String LORE_PROFILE_NAME = "\u00A7r\u00A77#%var%";
private static final String LORE_FUEL_LEVEL = "\u00A7r\u00A7eFuel: %var%";
private static final String LORE_FUEL_LEVEL_COSMETIC_MAX = "/%var%";
private static final String LORE_COSMETIC_FUEL_TYPE = "§r§eFuel type: %var%";
private static final String LORE_ADMINISTRATIONAL_TIMESTAMP_CRAFTED = "§r§8C: %var%";
private static final String LORE_COSMETIC_FUEL_TYPE = "\u00A7r\u00A7eFuel type: %var%";
private static final String LORE_ADMINISTRATIONAL_TIMESTAMP_CRAFTED = "\u00A7r\u00A78C: %var%";
private Jetpack jetpackProfile;
private ItemStack item;