mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-06 02:51:32 +01:00
Allow both essentials.build and permissions.build in PermissionsBukkit
This commit is contained in:
parent
ee00fb77d0
commit
d2c553652f
@ -55,7 +55,7 @@ public class BPermissionsHandler implements IPermissionsHandler
|
|||||||
@Override
|
@Override
|
||||||
public boolean canBuild(final Player base, final String group)
|
public boolean canBuild(final Player base, final String group)
|
||||||
{
|
{
|
||||||
return hasPermission(base, "bPermissions.build");
|
return hasPermission(base, "essentials.build") || hasPermission(base, "bPermissions.build");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -74,4 +74,10 @@ public class PermissionsBukkitHandler extends SuperpermsHandler
|
|||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean canBuild(Player base, String group)
|
||||||
|
{
|
||||||
|
return base.hasPermission("essentials.build") || base.hasPermission("permissions.build");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user