Seems to work for 1.7.2 (which doesn't have UUIDs)

This commit is contained in:
boy0001 2014-12-14 00:30:29 +11:00
parent 7b203261a3
commit 760041607e
21 changed files with 109 additions and 35 deletions

View file

@ -115,7 +115,7 @@ public class Info extends SubCommand {
String owner = "none";
if (plot.owner != null) {
owner = Bukkit.getOfflinePlayer(plot.owner).getName();
owner = UUIDHandler.uuidWrapper.getOfflinePlayer(plot.owner).getName();
}
if (owner == null) {
owner = plot.owner.toString();
@ -179,7 +179,7 @@ public class Info extends SubCommand {
String owner = "none";
if (plot.owner != null) {
owner = Bukkit.getOfflinePlayer(plot.owner).getName();
owner = UUIDHandler.uuidWrapper.getOfflinePlayer(plot.owner).getName();
}
if (owner == null) {
owner = plot.owner.toString();