mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-12 01:25:26 +02:00
Fix /home player for offline players
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1497 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
@@ -22,7 +22,7 @@ public class EssentialsSpawnPlayerListener extends PlayerListener
|
||||
{
|
||||
if (Essentials.getStatic().getSettings().getRespawnAtHome())
|
||||
{
|
||||
Location home = user.getHome();
|
||||
Location home = user.getHome(user.getLocation());
|
||||
if (home == null) {
|
||||
throw new Exception();
|
||||
}
|
||||
|
Reference in New Issue
Block a user