mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-09-27 22:17:32 +02:00
Changed version for Update notifiaction push
This commit is contained in:
parent
ec78b6a007
commit
32227eb428
@ -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());
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
version: 1.6.2
|
||||
version: 2.0.0
|
||||
|
Loading…
Reference in New Issue
Block a user