mirror of
https://github.com/MilkBowl/Vault.git
synced 2024-11-13 06:06:28 +01:00
calling pex has method via instance instead of static appears to keep
compatibility with both 1.15 and 1.15.1
This commit is contained in:
parent
4e5d166164
commit
7be6572025
@ -82,7 +82,7 @@ public class Permission_PermissionsEx extends Permission {
|
||||
|
||||
@Override
|
||||
public boolean playerHas(Player player, String permission) {
|
||||
return PermissionsEx.has(player, permission);
|
||||
return this.permission.has(player, permission);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user