mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
Fix visit
This commit is contained in:
parent
b8afbe8a00
commit
89442a0e77
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ public class Visit extends SubCommand {
|
|||
}
|
||||
page = Integer.parseInt(args[1]);
|
||||
case 1:
|
||||
UUID user = UUIDHandler.getCachedUUID(args[0], null);
|
||||
UUID user = (args.length == 2 || !MathMan.isInteger(args[0])) ? UUIDHandler.getCachedUUID(args[0], null) : null;
|
||||
if (page == Integer.MIN_VALUE && user == null && MathMan.isInteger(args[0])) {
|
||||
page = Integer.parseInt(args[0]);
|
||||
unsorted = PS.get().getBasePlots(player);
|
||||
|
|
Loading…
Reference in a new issue