From 41c033132d370a59b428f720f37246fdb96f2647 Mon Sep 17 00:00:00 2001 From: ZakeyWolf Date: Mon, 26 Oct 2015 22:44:24 +0100 Subject: [PATCH] Windows color code fix Fixed an issue where colors in the inventory were displayed incorrectly on Windows systems --- src/de/freestylecrafter/aio/jetpacks/JetpackItem.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/de/freestylecrafter/aio/jetpacks/JetpackItem.java b/src/de/freestylecrafter/aio/jetpacks/JetpackItem.java index ffca97b..f8cf9f3 100644 --- a/src/de/freestylecrafter/aio/jetpacks/JetpackItem.java +++ b/src/de/freestylecrafter/aio/jetpacks/JetpackItem.java @@ -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;