mirror of
https://github.com/essentials/Essentials.git
synced 2025-02-23 16:03:28 +01:00
change commandblock message
This commit is contained in:
parent
0f630389aa
commit
d26ab2fd65
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user