Skip to content

Commit

Permalink
Increase maxium warting ticks to 2147483647 ticks
Browse files Browse the repository at this point in the history
  • Loading branch information
X-Green authored Oct 12, 2019
1 parent e2bb34d commit 37addee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/carpet/commands/TickCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public static void register(CommandDispatcher<CommandSource> dispatcher)
executes((c) -> setTps(c.getSource(), getFloat(c, "rate"))))).
then(literal("warp").
executes( (c)-> setWarp(c.getSource(), 0, null)).
then(argument("ticks", integer(0,4000000)).
then(argument("ticks", integer(0,2147483647)).
suggests( (c, b) -> ISuggestionProvider.suggest(new String[]{"3600","72000"},b)).
executes((c) -> setWarp(c.getSource(), getInteger(c,"ticks"), null)).
then(argument("tail command", greedyString()).
Expand Down

0 comments on commit 37addee

Please sign in to comment.