From e2f5548a5f8c8c253387bd2f7ef76374656dfe98 Mon Sep 17 00:00:00 2001 From: gravitylow Date: Wed, 16 Apr 2014 13:55:22 -0400 Subject: [PATCH] Offline player name hotfix until I can write a good threaded use of OfflinePlayer --- src/main/java/com/massivecraft/factions/FPlayer.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/massivecraft/factions/FPlayer.java b/src/main/java/com/massivecraft/factions/FPlayer.java index 6d657055..e862bd51 100644 --- a/src/main/java/com/massivecraft/factions/FPlayer.java +++ b/src/main/java/com/massivecraft/factions/FPlayer.java @@ -305,8 +305,9 @@ public class FPlayer extends PlayerEntity implements EconomyParticipator { if(getPlayer() != null) { return getPlayer().getName(); } - OfflinePlayer player = Bukkit.getOfflinePlayer(UUID.fromString(getId())); - return player.getName() != null ? player.getName() : getId(); + /*OfflinePlayer player = Bukkit.getOfflinePlayer(UUID.fromString(getId())); + return player.getName() != null ? player.getName() : getId();*/ + return getId(); } public String getTag() {