mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-10 22:35:29 +00:00
A whole load of fixes
This commit is contained in:
parent
c25eccf4a0
commit
75a5a76fe9
61 changed files with 401 additions and 626 deletions
|
@ -103,16 +103,8 @@ public class Info extends SubCommand {
|
|||
|
||||
// Wildcard player {added}
|
||||
{
|
||||
if (plot.helpers == null) {
|
||||
containsEveryone = false;
|
||||
} else {
|
||||
containsEveryone = plot.helpers.contains(DBFunc.everyone);
|
||||
}
|
||||
if (plot.trusted == null) {
|
||||
trustedEveryone = false;
|
||||
} else {
|
||||
trustedEveryone = plot.trusted.contains(DBFunc.everyone);
|
||||
}
|
||||
containsEveryone = plot.helpers != null && plot.helpers.contains(DBFunc.everyone);
|
||||
trustedEveryone = plot.trusted != null && plot.trusted.contains(DBFunc.everyone);
|
||||
}
|
||||
|
||||
// Unclaimed?
|
||||
|
@ -183,7 +175,7 @@ public class Info extends SubCommand {
|
|||
final String denied = getPlayerList(plot.denied);
|
||||
final String rating = String.format("%.1f", DBFunc.getRatings(plot));
|
||||
final String flags = "&6" + (StringUtils.join(plot.settings.getFlags(), "").length() > 0 ? StringUtils.join(plot.settings.getFlags(), "&7, &6") : "none");
|
||||
final boolean build = player == null ? true : plot.hasRights(player);
|
||||
final boolean build = player == null || plot.hasRights(player);
|
||||
|
||||
String owner = "none";
|
||||
if (plot.owner != null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue