mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-10 16:48:05 +02:00
Converted emulated player class calls to use base class.
This commit is contained in:
@@ -47,7 +47,7 @@ public class EssentialsSpawnPlayerListener implements Listener
|
||||
if (ess.getSettings().getRespawnAtHome())
|
||||
{
|
||||
Location home;
|
||||
final Location bed = user.getBedSpawnLocation();
|
||||
final Location bed = user.getBase().getBedSpawnLocation();
|
||||
if (bed != null)
|
||||
{
|
||||
home = bed;
|
||||
@@ -101,7 +101,7 @@ public class EssentialsSpawnPlayerListener implements Listener
|
||||
@Override
|
||||
public void run()
|
||||
{
|
||||
if (!user.isOnline()) {
|
||||
if (!user.getBase().isOnline()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user