Add temporary modifier to the argument list for permission/parent settemp (#1817)

This commit is contained in:
OmegaWeapon_ 2019-11-25 02:57:36 +10:30 committed by Luck
parent 6df64a29dc
commit 500385cd3e

View File

@ -229,6 +229,7 @@ public enum CommandSpec {
Argument.create("node", true, "the permission node to set"), Argument.create("node", true, "the permission node to set"),
Argument.create("true|false", false, "the value of the node"), Argument.create("true|false", false, "the value of the node"),
Argument.create("duration", true, "the duration until the permission node expires"), Argument.create("duration", true, "the duration until the permission node expires"),
Argument.create("temporary modifier", false, "how the temporary permission should be applied"),
Argument.create("context...", false, "the contexts to add the permission in") Argument.create("context...", false, "the contexts to add the permission in")
) )
), ),
@ -291,6 +292,7 @@ public enum CommandSpec {
Argument.list( Argument.list(
Argument.create("group", true, "the group to inherit from"), Argument.create("group", true, "the group to inherit from"),
Argument.create("duration", true, "the duration of the group membership"), Argument.create("duration", true, "the duration of the group membership"),
Argument.create("temporary modifier", false, "how the temporary permission should be applied"),
Argument.create("context...", false, "the contexts to inherit the group in") Argument.create("context...", false, "the contexts to inherit the group in")
) )
), ),