mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-12 20:29:20 +00:00
Merge branch 'master' into release
This commit is contained in:
commit
832910d480
1 changed files with 2 additions and 1 deletions
|
@ -17,7 +17,8 @@ public class Permissions2Handler implements IPermissionsHandler
|
|||
|
||||
public String getGroup(final Player base)
|
||||
{
|
||||
return permissionHandler.getGroup(base.getWorld().getName(), base.getName());
|
||||
final String group = permissionHandler.getGroup(base.getWorld().getName(), base.getName());
|
||||
return group == null ? "default" : group;
|
||||
}
|
||||
|
||||
public boolean canBuild(final Player base, final String group)
|
||||
|
|
Loading…
Reference in a new issue