mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-30 22:53:27 +01:00
Fix permission check message arg ordering
This commit is contained in:
parent
5bdc798237
commit
3f04d439b4
@ -82,7 +82,7 @@ public class BulkUpdateBuilder {
|
|||||||
throw new IllegalStateException("no action specified");
|
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
|
@Override
|
||||||
|
@ -44,38 +44,38 @@ public final class BulkUpdateStatistics {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public int getAffectedNodes() {
|
public int getAffectedNodes() {
|
||||||
return affectedNodes;
|
return this.affectedNodes;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getAffectedUsers() {
|
public int getAffectedUsers() {
|
||||||
return affectedUsers;
|
return this.affectedUsers;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getAffectedGroups() {
|
public int getAffectedGroups() {
|
||||||
return affectedGroups;
|
return this.affectedGroups;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void incrementAffectedNodes() {
|
public void incrementAffectedNodes() {
|
||||||
++affectedNodes;
|
this.affectedNodes++;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void incrementAffectedUsers() {
|
public void incrementAffectedUsers() {
|
||||||
++affectedUsers;
|
this.affectedUsers++;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void incrementAffectedGroups() {
|
public void incrementAffectedGroups() {
|
||||||
++affectedGroups;
|
this.affectedGroups++;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void incrementAffectedNodesBy(int delta) {
|
public void incrementAffectedNodesBy(int delta) {
|
||||||
affectedNodes += delta;
|
this.affectedNodes += delta;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void incrementAffectedUsersBy(int delta) {
|
public void incrementAffectedUsersBy(int delta) {
|
||||||
affectedUsers += delta;
|
this.affectedUsers += delta;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void incrementAffectedGroupsBy(int delta) {
|
public void incrementAffectedGroupsBy(int delta) {
|
||||||
affectedGroups += delta;
|
this.affectedGroups += delta;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1748,9 +1748,9 @@ public interface Message {
|
|||||||
.key("luckperms.command.generic.permission.check-inherits")
|
.key("luckperms.command.generic.permission.check-inherits")
|
||||||
.color(GREEN)
|
.color(GREEN)
|
||||||
.args(
|
.args(
|
||||||
|
text().color(AQUA).append(holder.getFormattedDisplayName()),
|
||||||
text(permission, AQUA),
|
text(permission, AQUA),
|
||||||
formatTristate(value),
|
formatTristate(value),
|
||||||
text().color(AQUA).append(holder.getFormattedDisplayName()),
|
|
||||||
formatContextSet(context)
|
formatContextSet(context)
|
||||||
)
|
)
|
||||||
.append(FULL_STOP)
|
.append(FULL_STOP)
|
||||||
@ -1761,9 +1761,9 @@ public interface Message {
|
|||||||
.key("luckperms.command.generic.permission.check-inherits")
|
.key("luckperms.command.generic.permission.check-inherits")
|
||||||
.color(GREEN)
|
.color(GREEN)
|
||||||
.args(
|
.args(
|
||||||
|
text().color(AQUA).append(holder.getFormattedDisplayName()),
|
||||||
text(permission, AQUA),
|
text(permission, AQUA),
|
||||||
formatTristate(value),
|
formatTristate(value),
|
||||||
text().color(AQUA).append(holder.getFormattedDisplayName()),
|
|
||||||
formatContextSet(context)
|
formatContextSet(context)
|
||||||
)
|
)
|
||||||
.append(FULL_STOP)
|
.append(FULL_STOP)
|
||||||
|
Loading…
Reference in New Issue
Block a user