geforkt von Mirrors/Velocity
Fix permission for velocity dump command (#1318)
Dieser Commit ist enthalten in:
Ursprung
1228f14742
Commit
afd8b55fb5
@ -74,7 +74,7 @@ public final class VelocityCommand {
|
||||
@SuppressWarnings("checkstyle:MissingJavadocMethod")
|
||||
public static BrigadierCommand create(final VelocityServer server) {
|
||||
final LiteralCommandNode<CommandSource> dump = BrigadierCommand.literalArgumentBuilder("dump")
|
||||
.requires(source -> source.getPermissionValue("velocity.command.plugins") == Tristate.TRUE)
|
||||
.requires(source -> source.getPermissionValue("velocity.command.dump") == Tristate.TRUE)
|
||||
.executes(new Dump(server))
|
||||
.build();
|
||||
final LiteralCommandNode<CommandSource> heap = BrigadierCommand.literalArgumentBuilder("heap")
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren