t3hk0d3/Modifyworld — Issue #3: Permissions check
Author: drantor
Created: 2011-10-11 20:34:52+00:00
State: open

Its check the Permissions for Block with a AND operator so you have to set blockID and blockName to have permissions.

So lets turn:

protected boolean canInteractWithMaterial(Player player, String basePermission, Material type) {
return permissionsManager.has(player, basePermission + type.name().toLowerCase().replace("_", "")) && permissionsManager.has(player, basePermission + type.getId());
}

To:

protected boolean canInteractWithMaterial(Player player, String basePermission, Material type) {
return permissionsManager.has(player, basePermission + type.name().toLowerCase().replace("_", "")) || permissionsManager.has(player, basePermission + type.getId());
}