mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2024-09-12 13:19:33 +00:00
SuperpermsBridge fail
This commit is contained in:
parent
7aea9e71e8
commit
164541794e
|
@ -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