Relight command

This commit is contained in:
Jesse Boyd
2016-03-30 04:34:48 +11:00
parent df630f9be1
commit 560ebf412b
5 changed files with 70 additions and 10 deletions

View File

@ -129,12 +129,12 @@ public class ClassicPlotMeConnector extends APlotMeConnector {
}
}
if (owner == null) {
if (!name.isEmpty()) {
owner = UUID.nameUUIDFromBytes(("OfflinePlayer:" + name.toLowerCase()).getBytes(Charsets.UTF_8));
if (name.isEmpty()) {
PS.log("&cCould not identify owner for plot: " + id + " -> '" + name + "'");
missing++;
continue;
}
PS.log("&cCould not identify owner for plot: " + id + " -> '" + name + "'");
missing++;
continue;
owner = UUID.nameUUIDFromBytes(("OfflinePlayer:" + name.toLowerCase()).getBytes(Charsets.UTF_8));
}
}
} else {