From 1e3226f859fbe8db4e433fa0dc3f96b249d31524 Mon Sep 17 00:00:00 2001 From: BuildTools Date: Tue, 5 Feb 2019 15:09:13 -0500 Subject: [PATCH] Update color for deliver item difference message --- .../quests/listeners/NpcListener.java | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/main/java/me/blackvein/quests/listeners/NpcListener.java b/src/main/java/me/blackvein/quests/listeners/NpcListener.java index 49d4f4027..bc9b820d4 100644 --- a/src/main/java/me/blackvein/quests/listeners/NpcListener.java +++ b/src/main/java/me/blackvein/quests/listeners/NpcListener.java @@ -98,35 +98,35 @@ public class NpcListener implements Listener { plugin.getLocaleQuery().sendMessage(player, Lang.get(player, "questInvalidDeliveryItem").replace("", text), hand.getType(), hand.getDurability()); switch(reasonCode) { case 1: - player.sendMessage(Lang.get(player, "difference").replace("", "one item is null")); + player.sendMessage(ChatColor.GRAY + Lang.get(player, "difference").replace("", "one item is null")); break; case 0: // Should never happen - player.sendMessage(Lang.get(player, "difference").replace("", "ERROR")); + player.sendMessage(ChatColor.GRAY + Lang.get(player, "difference").replace("", "ERROR")); break; case -1: - player.sendMessage(Lang.get(player, "difference").replace("", "name")); + player.sendMessage(ChatColor.GRAY + Lang.get(player, "difference").replace("", "name")); break; case -2: - player.sendMessage(Lang.get(player, "difference").replace("", "amount")); + player.sendMessage(ChatColor.GRAY + Lang.get(player, "difference").replace("", "amount")); break; case -3: - player.sendMessage(Lang.get(player, "difference").replace("", "durability")); + player.sendMessage(ChatColor.GRAY + Lang.get(player, "difference").replace("", "durability")); break; case -4: - player.sendMessage(Lang.get(player, "difference").replace("", "display name or lore")); + player.sendMessage(ChatColor.GRAY + Lang.get(player, "difference").replace("", "display name or lore")); break; case -5: - player.sendMessage(Lang.get(player, "difference").replace("", "enchantments")); + player.sendMessage(ChatColor.GRAY + Lang.get(player, "difference").replace("", "enchantments")); break; case -6: - player.sendMessage(Lang.get(player, "difference").replace("", "stored enchants")); + player.sendMessage(ChatColor.GRAY + Lang.get(player, "difference").replace("", "stored enchants")); break; case -7: - player.sendMessage(Lang.get(player, "difference").replace("", "item flags")); + player.sendMessage(ChatColor.GRAY + Lang.get(player, "difference").replace("", "item flags")); break; default: - player.sendMessage(Lang.get(player, "difference").replace("", "unknown")); + player.sendMessage(ChatColor.GRAY + Lang.get(player, "difference").replace("", "unknown")); } if (hand.hasItemMeta()) { if (hand.getType().equals(Material.ENCHANTED_BOOK)) {