Changed version for Update notifiaction push

This commit is contained in:
Rsl1122 2017-01-16 22:30:51 +02:00
parent ec78b6a007
commit 32227eb428
2 changed files with 5 additions and 4 deletions

View File

@ -60,10 +60,11 @@ public class MiscUtils {
String playerName = "";
Plan plugin = getPlugin(Plan.class);
if (args.length > 0) {
if (sender.hasPermission("plan.inspect.other")
|| !(sender instanceof Player)
|| args[0].toLowerCase().equals(sender.getName().toLowerCase())) {
if (sender.hasPermission("plan.inspect.other")
|| !(sender instanceof Player)) {
playerName = args[0];
} else if (args[0].toLowerCase().equals(sender.getName().toLowerCase())) {
playerName = sender.getName();
} else {
sender.sendMessage(Phrase.COMMAND_NO_PERMISSION.toString());
}

View File

@ -1 +1 @@
version: 1.6.2
version: 2.0.0