diff options
author | Necrodoom <doomed.war@gmail.com> | 2013-02-26 13:05:45 +0200 |
---|---|---|
committer | Necrodoom <doomed.war@gmail.com> | 2013-02-26 13:05:45 +0200 |
commit | 308f05b8bf71c976c22ba11a9310af0b8d02cbef (patch) | |
tree | 6f663ab53efbec512bf76fa92643d05151a70a8a /EssentialsGroupManager/src/org/anjocaido/groupmanager | |
parent | 48db088fb4723528822fac60560bb523afb8fc9a (diff) | |
download | Essentials-308f05b8bf71c976c22ba11a9310af0b8d02cbef.tar Essentials-308f05b8bf71c976c22ba11a9310af0b8d02cbef.tar.gz Essentials-308f05b8bf71c976c22ba11a9310af0b8d02cbef.tar.lz Essentials-308f05b8bf71c976c22ba11a9310af0b8d02cbef.tar.xz Essentials-308f05b8bf71c976c22ba11a9310af0b8d02cbef.zip |
change commandblock message
Diffstat (limited to 'EssentialsGroupManager/src/org/anjocaido/groupmanager')
-rw-r--r-- | EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java index cc51ca269..6e75b3a8a 100644 --- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java +++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java @@ -393,7 +393,8 @@ public class GroupManager extends JavaPlugin { // PREVENT GM COMMANDS BEING USED ON COMMANDBLOCKS if (sender instanceof BlockCommandSender && !isAllowCommandBlocks) { Block block = ((BlockCommandSender)sender).getBlock(); - GroupManager.logger.warning(ChatColor.RED + "GM Commands can not be called from the CommandBlock at location: " + ChatColor.GREEN + block.getWorld().getName() + " - " + block.getX() + ", " + block.getY() + ", " + block.getZ()); + GroupManager.logger.warning(ChatColor.RED + "GM Commands can not be called from CommandBlocks"); + GroupManager.logger.warning(ChatColor.RED + "Location: " + ChatColor.GREEN + block.getWorld().getName() + ", " + block.getX() + ", " + block.getY() + ", " + block.getZ()); return true; } |