mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-09 09:57:34 +01:00
change commandblock message
This commit is contained in:
parent
48db088fb4
commit
308f05b8bf
@ -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…
Reference in New Issue
Block a user