Skip to content

Commit

Permalink
Implement missing OfflinePlayer methods
Browse files Browse the repository at this point in the history
  • Loading branch information
mdcfe committed Jan 3, 2019
1 parent e94202c commit 5690952
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Essentials/src/com/earth2me/essentials/OfflinePlayer.java
Original file line number Diff line number Diff line change
Expand Up @@ -787,6 +787,21 @@ public void setBedSpawnLocation(Location lctn) {
public void setBedSpawnLocation(Location lctn, boolean force) {
}

@Override
public boolean sleep(Location location, boolean force) {
return false;
}

@Override
public void wakeup(boolean setSpawnLocation) {

}

@Override
public Location getBedLocation() {
return null;
}

@Override
public void playEffect(EntityEffect ee) {
}
Expand Down

0 comments on commit 5690952

Please sign in to comment.