From 5df704bf5ac79e3c85acf624e21ee61f08f63788 Mon Sep 17 00:00:00 2001 From: Travis Watkins Date: Sun, 17 Mar 2013 20:18:11 -0500 Subject: [PATCH] Use name given to command block instead of "@". Fixes BUKKIT-3803 --- .../org/bukkit/craftbukkit/command/CraftBlockCommandSender.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/bukkit/craftbukkit/command/CraftBlockCommandSender.java b/src/main/java/org/bukkit/craftbukkit/command/CraftBlockCommandSender.java index 9c3848d8a5..1ccbbf01dd 100644 --- a/src/main/java/org/bukkit/craftbukkit/command/CraftBlockCommandSender.java +++ b/src/main/java/org/bukkit/craftbukkit/command/CraftBlockCommandSender.java @@ -29,7 +29,7 @@ public class CraftBlockCommandSender extends ServerCommandSender implements Bloc } public String getName() { - return "@"; + return commandBlock.getName(); } public boolean isOp() {