mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-06 20:42:55 +00:00
Seems to work for 1.7.2 (which doesn't have UUIDs)
This commit is contained in:
parent
7b203261a3
commit
760041607e
21 changed files with 109 additions and 35 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue