diff --git a/src/net/mc_pandacraft/java/plugin/pandacraftutils/players/OffPlayer.java b/src/net/mc_pandacraft/java/plugin/pandacraftutils/players/OffPlayer.java index 5214122..f5d9e25 100644 --- a/src/net/mc_pandacraft/java/plugin/pandacraftutils/players/OffPlayer.java +++ b/src/net/mc_pandacraft/java/plugin/pandacraftutils/players/OffPlayer.java @@ -115,11 +115,16 @@ public class OffPlayer { - + public String getDisplayName() { - Player p = getBukkitOnlinePlayer(); - if (p != null) - return p.getDisplayName(); + return getDisplayName(false); + } + public String getDisplayName(boolean forceRenew) { + if (!forceRenew) { + Player p = getBukkitOnlinePlayer(); + if (p != null) + return p.getDisplayName(); + } User essU = getEssentialsUser();