increase max value for /ks set
This commit is contained in:
parent
21577f8e1d
commit
664b901ccd
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ public class KillstreakCommand {
|
|||
)
|
||||
.then(Commands.literal("set")
|
||||
.requires(s -> s.getSender().hasPermission("ks.admin.set"))
|
||||
.then(playerArgument.then(Commands.argument("killstreak", LongArgumentType.longArg(0L, 999999L))
|
||||
.then(playerArgument.then(Commands.argument("killstreak", LongArgumentType.longArg(0L, Long.MAX_VALUE / 2)) // make it big but also so it can't realistically overflow
|
||||
.executes(KillstreakCommand::setKillstreak)
|
||||
))
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue