1
0
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:
KHobbits
2014-04-13 01:01:49 +01:00
parent fec02fee51
commit 517853fb73
61 changed files with 214 additions and 214 deletions

View File

@@ -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;
}