diff options
author | snowleo <schneeleo@gmail.com> | 2012-02-13 11:22:49 +0100 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2012-02-13 11:22:49 +0100 |
commit | cae3c5a03e2a3306c09132e277b2ea010ec8385b (patch) | |
tree | 79d723397a2c7c751ecf75cdf8d6a6b3a334c010 | |
parent | 13206b341801ffc896a0ef11b5e30c2af217f62f (diff) | |
download | Essentials-cae3c5a03e2a3306c09132e277b2ea010ec8385b.tar Essentials-cae3c5a03e2a3306c09132e277b2ea010ec8385b.tar.gz Essentials-cae3c5a03e2a3306c09132e277b2ea010ec8385b.tar.lz Essentials-cae3c5a03e2a3306c09132e277b2ea010ec8385b.tar.xz Essentials-cae3c5a03e2a3306c09132e277b2ea010ec8385b.zip |
We don't need to get OfflinePlayer again.
-rw-r--r-- | Essentials/src/com/earth2me/essentials/user/UserBase.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/user/UserBase.java b/Essentials/src/com/earth2me/essentials/user/UserBase.java index e6384cf93..0d333ab9f 100644 --- a/Essentials/src/com/earth2me/essentials/user/UserBase.java +++ b/Essentials/src/com/earth2me/essentials/user/UserBase.java @@ -119,7 +119,7 @@ public abstract class UserBase extends AsyncStorageObjectHolder<UserData> implem } else { - return ess.getServer().getOfflinePlayer(base.getName()).getBedSpawnLocation(); + return offlinePlayer.getBedSpawnLocation(); } } |