mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-08-03 21:15:28 +02:00
sender, not player.
This commit is contained in:
@@ -102,7 +102,7 @@ public final class Permissions {
|
|||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public static boolean mmoedit(CommandSender sender) {
|
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
|
@Deprecated
|
||||||
public static boolean mcgod(CommandSender sender) {
|
public static boolean mcgod(CommandSender sender) {
|
||||||
return player.hasPermission("mcmmo.tools.mcgod");
|
return sender.hasPermission("mcmmo.tools.mcgod");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user