mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-12-25 01:58:28 +01:00
sender, not player.
This commit is contained in:
parent
491a70ad82
commit
28dca6e66f
@ -102,7 +102,7 @@ public final class Permissions {
|
||||
*/
|
||||
@Deprecated
|
||||
public static boolean mmoedit(CommandSender sender) {
|
||||
return player.hasPermission("mcmmo.tools.mmoedit");
|
||||
return sender.hasPermission("mcmmo.tools.mmoedit");
|
||||
}
|
||||
|
||||
/**
|
||||
@ -110,7 +110,7 @@ public final class Permissions {
|
||||
*/
|
||||
@Deprecated
|
||||
public static boolean mcgod(CommandSender sender) {
|
||||
return player.hasPermission("mcmmo.tools.mcgod");
|
||||
return sender.hasPermission("mcmmo.tools.mcgod");
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user