Fix errors *again

This commit is contained in:
boy0001 2015-07-27 19:14:28 +10:00
parent 58ebf9d232
commit dce25ba07a
16 changed files with 22 additions and 21 deletions

View file

@ -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));