diff options
author | Travis Watkins <amaranth@ubuntu.com> | 2013-03-17 20:18:11 -0500 |
---|---|---|
committer | Travis Watkins <amaranth@ubuntu.com> | 2013-03-17 20:19:32 -0500 |
commit | 5df704bf5ac79e3c85acf624e21ee61f08f63788 (patch) | |
tree | fcc150282358ec004f5d1fb4a1ff060a5848a9e5 /src | |
parent | d802168cd58d4717fa3dcfee90a1f71063bad010 (diff) | |
download | craftbukkit-5df704bf5ac79e3c85acf624e21ee61f08f63788.tar craftbukkit-5df704bf5ac79e3c85acf624e21ee61f08f63788.tar.gz craftbukkit-5df704bf5ac79e3c85acf624e21ee61f08f63788.tar.lz craftbukkit-5df704bf5ac79e3c85acf624e21ee61f08f63788.tar.xz craftbukkit-5df704bf5ac79e3c85acf624e21ee61f08f63788.zip |
Use name given to command block instead of "@". Fixes BUKKIT-3803
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/command/CraftBlockCommandSender.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/command/CraftBlockCommandSender.java b/src/main/java/org/bukkit/craftbukkit/command/CraftBlockCommandSender.java index 9c3848d8..1ccbbf01 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() { |