BPermissions 1.6.0

Prefix/suffix support for bPermissions
Star permissions are now done by bPermissions
This commit is contained in:
snowleo 2011-09-22 01:03:54 +02:00
parent 517961b26a
commit caff3c115b
2 changed files with 8 additions and 4 deletions

View File

@ -8,10 +8,10 @@ import java.util.List;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
public class BPermissionsHandler extends SuperpermsHandler public class BPermissionsHandler implements IPermissionsHandler
{ {
private final transient WorldPermissionsManager wpm; private final transient WorldPermissionsManager wpm;
private final InfoReader info; private final transient InfoReader info;
public BPermissionsHandler() public BPermissionsHandler()
{ {
wpm = Permissions.getWorldPermissionsManager(); wpm = Permissions.getWorldPermissionsManager();
@ -69,6 +69,10 @@ public class BPermissionsHandler extends SuperpermsHandler
{ {
return info.getSuffix(base); return info.getSuffix(base);
} }
@Override
public boolean hasPermission(final Player base, final String node)
{
return base.hasPermission(node);
}
} }

Binary file not shown.