Skip to content

Commit

Permalink
Fixed a failure with /rollback backup delete latest
Browse files Browse the repository at this point in the history
  • Loading branch information
MehradN committed Mar 5, 2023
1 parent 081530c commit f0d691f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public static int deleteBackup(CommandContext<ServerCommandSource> context, int
int index;
switch (position) {
case 0 -> index = 0;
case -1 -> index = -1;
case 1 -> index = -1;
default -> index = -IntegerArgumentType.getInteger(context, "number");
}

Expand Down

0 comments on commit f0d691f

Please sign in to comment.