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:
KHobbits 2012-09-08 14:11:12 +01:00
parent cababcbfcf
commit 6c3b13a7a4
2 changed files with 3 additions and 3 deletions

View File

@ -78,6 +78,6 @@ public class PermissionsBukkitHandler extends SuperpermsHandler
@Override
public boolean canBuild(Player base, String group)
{
return hasPermission(base, "permissions.build");
return false;
}
}

View File

@ -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