Fixed another typo
This commit is contained in:
parent
bbd4ea4610
commit
472d114474
@ -13,7 +13,7 @@ public class UndisguisePlayerCommand implements CommandExecutor {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
|
public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
|
||||||
if (sender.hasPermission("libsdisguises.undisguiseothers")) {
|
if (sender.hasPermission("libsdisguises.undisguiseplayer")) {
|
||||||
if (args.length > 0) {
|
if (args.length > 0) {
|
||||||
Player p = Bukkit.getPlayer(args[0]);
|
Player p = Bukkit.getPlayer(args[0]);
|
||||||
if (p != null) {
|
if (p != null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user