mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 20:00:46 +00:00
SuperpermsBridge fail
This commit is contained in:
parent
7aea9e71e8
commit
164541794e
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