From 2bf76ca5d100da6cd897068881a84d79071dc700 Mon Sep 17 00:00:00 2001 From: j502647092 Date: Mon, 5 Oct 2015 02:14:24 +0800 Subject: [PATCH] fix mark check... Signed-off-by: j502647092 --- src/main/java/org/maxgamer/QuickShop/Util/MarkUtil.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/org/maxgamer/QuickShop/Util/MarkUtil.java b/src/main/java/org/maxgamer/QuickShop/Util/MarkUtil.java index 87954cb..da9bb7c 100644 --- a/src/main/java/org/maxgamer/QuickShop/Util/MarkUtil.java +++ b/src/main/java/org/maxgamer/QuickShop/Util/MarkUtil.java @@ -1,6 +1,5 @@ package org.maxgamer.QuickShop.Util; -import org.bukkit.ChatColor; import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.meta.ItemMeta; @@ -9,7 +8,7 @@ public class MarkUtil { public static void addMark(final ItemStack ci) { final ItemMeta meta = ci.getItemMeta(); - meta.setDisplayName(ChatColor.RED + "QuickShop " + Util.getName(ci)); + meta.setDisplayName(mark + Util.getName(ci)); ci.setItemMeta(meta); }