Offline player name hotfix until I can write a good threaded use of OfflinePlayer
This commit is contained in:
parent
402b3b0d07
commit
e2f5548a5f
@ -305,8 +305,9 @@ public class FPlayer extends PlayerEntity implements EconomyParticipator {
|
|||||||
if(getPlayer() != null) {
|
if(getPlayer() != null) {
|
||||||
return getPlayer().getName();
|
return getPlayer().getName();
|
||||||
}
|
}
|
||||||
OfflinePlayer player = Bukkit.getOfflinePlayer(UUID.fromString(getId()));
|
/*OfflinePlayer player = Bukkit.getOfflinePlayer(UUID.fromString(getId()));
|
||||||
return player.getName() != null ? player.getName() : getId();
|
return player.getName() != null ? player.getName() : getId();*/
|
||||||
|
return getId();
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getTag() {
|
public String getTag() {
|
||||||
|
Loading…
Reference in New Issue
Block a user