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:
mung3r 2011-10-23 00:08:37 -07:00
parent 4e5d166164
commit 7be6572025

View File

@ -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