Implement missing OfflinePlayer methods

This commit is contained in:
md678685 2019-01-03 20:42:03 +00:00
parent e94202c55a
commit 5690952516
1 changed files with 15 additions and 0 deletions

View File

@ -787,6 +787,21 @@ public class OfflinePlayer implements Player {
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) {
}