mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-25 02:27:33 +01:00
Switch default antibuild status to false. Antibuild toggling shouldn't be an issue with it as a stand alone plugin.
This commit is contained in:
parent
cababcbfcf
commit
6c3b13a7a4
@ -78,6 +78,6 @@ public class PermissionsBukkitHandler extends SuperpermsHandler
|
||||
@Override
|
||||
public boolean canBuild(Player base, String group)
|
||||
{
|
||||
return hasPermission(base, "permissions.build");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -45,10 +45,10 @@ public class PermissionsExHandler implements IPermissionsHandler
|
||||
final PermissionUser user = manager.getUser(base.getName());
|
||||
if (user == null)
|
||||
{
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
return user.getOptionBoolean("build", base.getWorld().getName(), true);
|
||||
return user.getOptionBoolean("build", base.getWorld().getName(), false);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user