diff --git a/common/src/main/java/me/lucko/luckperms/common/bulkupdate/BulkUpdateBuilder.java b/common/src/main/java/me/lucko/luckperms/common/bulkupdate/BulkUpdateBuilder.java index 290230135..e936c28e6 100644 --- a/common/src/main/java/me/lucko/luckperms/common/bulkupdate/BulkUpdateBuilder.java +++ b/common/src/main/java/me/lucko/luckperms/common/bulkupdate/BulkUpdateBuilder.java @@ -82,7 +82,7 @@ public class BulkUpdateBuilder { throw new IllegalStateException("no action specified"); } - return new BulkUpdate(this.dataType, this.action, ImmutableList.copyOf(this.queries), trackStatistics); + return new BulkUpdate(this.dataType, this.action, ImmutableList.copyOf(this.queries), this.trackStatistics); } @Override diff --git a/common/src/main/java/me/lucko/luckperms/common/bulkupdate/BulkUpdateStatistics.java b/common/src/main/java/me/lucko/luckperms/common/bulkupdate/BulkUpdateStatistics.java index 4f725a957..a327ec9e7 100644 --- a/common/src/main/java/me/lucko/luckperms/common/bulkupdate/BulkUpdateStatistics.java +++ b/common/src/main/java/me/lucko/luckperms/common/bulkupdate/BulkUpdateStatistics.java @@ -44,38 +44,38 @@ public final class BulkUpdateStatistics { } public int getAffectedNodes() { - return affectedNodes; + return this.affectedNodes; } public int getAffectedUsers() { - return affectedUsers; + return this.affectedUsers; } public int getAffectedGroups() { - return affectedGroups; + return this.affectedGroups; } public void incrementAffectedNodes() { - ++affectedNodes; + this.affectedNodes++; } public void incrementAffectedUsers() { - ++affectedUsers; + this.affectedUsers++; } public void incrementAffectedGroups() { - ++affectedGroups; + this.affectedGroups++; } public void incrementAffectedNodesBy(int delta) { - affectedNodes += delta; + this.affectedNodes += delta; } public void incrementAffectedUsersBy(int delta) { - affectedUsers += delta; + this.affectedUsers += delta; } public void incrementAffectedGroupsBy(int delta) { - affectedGroups += delta; + this.affectedGroups += delta; } } diff --git a/common/src/main/java/me/lucko/luckperms/common/locale/Message.java b/common/src/main/java/me/lucko/luckperms/common/locale/Message.java index 5857d370b..662bc428d 100644 --- a/common/src/main/java/me/lucko/luckperms/common/locale/Message.java +++ b/common/src/main/java/me/lucko/luckperms/common/locale/Message.java @@ -1748,9 +1748,9 @@ public interface Message { .key("luckperms.command.generic.permission.check-inherits") .color(GREEN) .args( + text().color(AQUA).append(holder.getFormattedDisplayName()), text(permission, AQUA), formatTristate(value), - text().color(AQUA).append(holder.getFormattedDisplayName()), formatContextSet(context) ) .append(FULL_STOP) @@ -1761,9 +1761,9 @@ public interface Message { .key("luckperms.command.generic.permission.check-inherits") .color(GREEN) .args( + text().color(AQUA).append(holder.getFormattedDisplayName()), text(permission, AQUA), formatTristate(value), - text().color(AQUA).append(holder.getFormattedDisplayName()), formatContextSet(context) ) .append(FULL_STOP)