mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-02-16 12:31:59 +01:00
Remove deprecated method
This commit is contained in:
parent
f9114996e2
commit
6be11c01ee
@ -29,26 +29,6 @@ public class MVPermissions implements PermissionsInterface {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Use hasPermission() Now
|
||||
*
|
||||
* @param p The player instance.
|
||||
* @param node The permission node we are checking against.
|
||||
* @return
|
||||
*/
|
||||
@Deprecated
|
||||
public boolean has(Player p, String node) {
|
||||
boolean result = false;
|
||||
|
||||
if (this.permissions != null) {
|
||||
result = this.permissions.has(p, node);
|
||||
} else if (p.isOp()) {
|
||||
result = true;
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if a Player can teleport to the Destination world from there current world. This checks against the Worlds Blacklist
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user