Sorted all members
This commit is contained in:
@@ -50,6 +50,7 @@ public class DisguiseCommand implements CommandExecutor {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
|
||||
Player p = (Player) sender;
|
||||
if (args.length == 0) {
|
||||
|
@@ -51,6 +51,7 @@ public class DisguisePlayerCommand implements CommandExecutor {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
|
||||
if (sender.hasPermission("libsdisguises.disguiseothers")
|
||||
|| (args.length > 0 && args[0].toLowerCase().startsWith("un") && sender
|
||||
|
@@ -10,6 +10,7 @@ import org.bukkit.entity.Player;
|
||||
|
||||
public class UndisguiseCommand implements CommandExecutor {
|
||||
|
||||
@Override
|
||||
public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
|
||||
Player p = (Player) sender;
|
||||
if (sender.hasPermission("libsdisguises.undisguise")) {
|
||||
|
@@ -11,6 +11,7 @@ import org.bukkit.entity.Player;
|
||||
|
||||
public class UndisguisePlayerCommand implements CommandExecutor {
|
||||
|
||||
@Override
|
||||
public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
|
||||
if (sender.hasPermission("libsdisguises.undisguiseothers")) {
|
||||
if (args.length > 0) {
|
||||
|
Reference in New Issue
Block a user