forked from LogBlock/LogBlock
Fixed /lb me command
This commit is contained in:
@@ -257,11 +257,11 @@ public class LogBlock extends JavaPlugin
|
|||||||
player.sendMessage(ChatColor.RED + "/lb rollback playerarea [name] [radius] <time> <minutes|hours|days>");
|
player.sendMessage(ChatColor.RED + "/lb rollback playerarea [name] [radius] <time> <minutes|hours|days>");
|
||||||
player.sendMessage(ChatColor.RED + "/lb rollback cuboid <time> <minutes|hours|days>");
|
player.sendMessage(ChatColor.RED + "/lb rollback cuboid <time> <minutes|hours|days>");
|
||||||
}
|
}
|
||||||
} else if (args[0].equalsIgnoreCase("me")) {
|
} else
|
||||||
if (CheckPermission(player,"logblock.me")) {
|
player.sendMessage(ChatColor.RED + "You aren't allowed to do this");
|
||||||
new Thread(new PlayerAreaStats(conn, player, player.getName(), Short.MAX_VALUE, table)).start();
|
} else if (args[0].equalsIgnoreCase("me")) {
|
||||||
} else
|
if (CheckPermission(player,"logblock.me")) {
|
||||||
player.sendMessage(ChatColor.RED + "You aren't allowed to do this");
|
new Thread(new PlayerAreaStats(conn, player, player.getName(), Short.MAX_VALUE, table)).start();
|
||||||
} else
|
} else
|
||||||
player.sendMessage(ChatColor.RED + "You aren't allowed to do this");
|
player.sendMessage(ChatColor.RED + "You aren't allowed to do this");
|
||||||
} else if (args[0].equalsIgnoreCase("help")) {
|
} else if (args[0].equalsIgnoreCase("help")) {
|
||||||
|
Reference in New Issue
Block a user