Class StandardPermissionProvider
java.lang.Object
de.simonsator.partyandfriends.api.PermissionProvider
de.simonsator.partyandfriends.utilities.StandardPermissionProvider
-
Constructor Summary
-
Method Summary
Methods inherited from class de.simonsator.partyandfriends.api.PermissionProvider
getInstance
-
Constructor Details
-
StandardPermissionProvider
public StandardPermissionProvider()
-
-
Method Details
-
hasPermission
- Specified by:
hasPermission
in classPermissionProvider
- Parameters:
pPlayer
- The player for whom the permission is askedpPermission
- The permission which is asked for- Returns:
- Returns true if the given player has the given permission and returns false if he has not.
-