mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 12:25:46 +01:00
Fixes #3148
This commit is contained in:
parent
635e18e7ed
commit
2d1e3b8c03
@ -245,7 +245,15 @@ public class Visit extends Command {
|
|||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
try {
|
||||||
page = Integer.parseInt(args[1]);
|
page = Integer.parseInt(args[1]);
|
||||||
|
} catch (NumberFormatException ignored) {
|
||||||
|
player.sendMessage(
|
||||||
|
TranslatableCaption.of("invalid.not_a_number"),
|
||||||
|
Template.of("value", args[1])
|
||||||
|
);
|
||||||
|
return CompletableFuture.completedFuture(false);
|
||||||
|
}
|
||||||
// /p v <name> [page]
|
// /p v <name> [page]
|
||||||
// /p v <uuid> [page]
|
// /p v <uuid> [page]
|
||||||
// /p v <plot> [page]
|
// /p v <plot> [page]
|
||||||
|
Loading…
Reference in New Issue
Block a user