mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-10-29 23:09:38 +01:00
BPermissions 1.6.0
Prefix/suffix support for bPermissions Star permissions are now done by bPermissions
This commit is contained in:
parent
517961b26a
commit
caff3c115b
@ -8,10 +8,10 @@ import java.util.List;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
|
||||
public class BPermissionsHandler extends SuperpermsHandler
|
||||
public class BPermissionsHandler implements IPermissionsHandler
|
||||
{
|
||||
private final transient WorldPermissionsManager wpm;
|
||||
private final InfoReader info;
|
||||
private final transient InfoReader info;
|
||||
public BPermissionsHandler()
|
||||
{
|
||||
wpm = Permissions.getWorldPermissionsManager();
|
||||
@ -70,5 +70,9 @@ public class BPermissionsHandler extends SuperpermsHandler
|
||||
return info.getSuffix(base);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean hasPermission(final Player base, final String node)
|
||||
{
|
||||
return base.hasPermission(node);
|
||||
}
|
||||
}
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user