mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-27 10:31:31 +01:00
Remove redundant permission check.
This commit is contained in:
parent
99d25bfaea
commit
0b71b6e93d
@ -75,9 +75,4 @@ public class PermissionsBukkitHandler extends SuperpermsHandler
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canBuild(Player base, String group)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -50,7 +50,7 @@ public class SimplyPermsHandler extends SuperpermsHandler
|
||||
@Override
|
||||
public boolean canBuild(Player base, String group)
|
||||
{
|
||||
return hasPermission(base, "essentials.build") || hasPermission(base, "permissions.allow.build");
|
||||
return hasPermission(base, "permissions.allow.build");
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -110,12 +110,6 @@ public class ZPermissionsHandler extends SuperpermsHandler implements Listener
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canBuild(Player base, String group)
|
||||
{
|
||||
return hasPermission(base, "essentials.build");
|
||||
}
|
||||
|
||||
private String getPrefixSuffix(Player base, String metadataName)
|
||||
{
|
||||
String playerPrefixSuffix;
|
||||
|
Loading…
Reference in New Issue
Block a user