From 507048b65d7f71bd10fb99ef164fee9d92f9c78e Mon Sep 17 00:00:00 2001 From: fullwall Date: Mon, 7 Mar 2016 18:58:40 +0800 Subject: [PATCH] Fix /npc glowing text --- pom.xml | 2 +- src/main/java/net/citizensnpcs/commands/NPCCommands.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 9f9f3240b..35bae4056 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ UTF-8 - 1.9-SNAPSHOT + 1.9-R0.1-SNAPSHOT 2.0.17-SNAPSHOT 1.5.4 1.4.12 diff --git a/src/main/java/net/citizensnpcs/commands/NPCCommands.java b/src/main/java/net/citizensnpcs/commands/NPCCommands.java index eb389cba4..fa5a037fc 100644 --- a/src/main/java/net/citizensnpcs/commands/NPCCommands.java +++ b/src/main/java/net/citizensnpcs/commands/NPCCommands.java @@ -542,7 +542,7 @@ public class NPCCommands { public void glowing(CommandContext args, CommandSender sender, NPC npc) throws CommandException { npc.data().setPersistent(NPC.GLOWING_METADATA, !npc.data().get(NPC.GLOWING_METADATA, false)); boolean glowing = npc.data().get(NPC.GLOWING_METADATA); - Messaging.sendTr(sender, glowing ? Messages.GLOWING_SET : Messages.GLOWING_UNSET); + Messaging.sendTr(sender, glowing ? Messages.GLOWING_SET : Messages.GLOWING_UNSET, npc.getName()); } @Command(