mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-10 14:33:08 +00:00
Fix errors *again
This commit is contained in:
parent
58ebf9d232
commit
dce25ba07a
16 changed files with 22 additions and 21 deletions
|
@ -66,7 +66,7 @@ public class Visit extends SubCommand {
|
|||
public boolean onCommand(CommandCaller caller, String[] args) {
|
||||
PlotPlayer plr = (PlotPlayer) caller.getSuperCaller();
|
||||
ArrayList<Plot> plots = new ArrayList<>();
|
||||
UUID user = UUIDHandler.getUUID(args[0]);
|
||||
UUID user = UUIDHandler.getUUID(args[0], null);
|
||||
if (user != null ) {
|
||||
// do plots by username
|
||||
plots.addAll(PS.get().getPlots(user));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue