Add config option to respawn at respawn anchors (#3498)

This commit is contained in:
Josh Roy 2020-07-17 17:13:30 -04:00 committed by GitHub
parent cedd42f411
commit e34984513d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 0 deletions

View file

@ -61,6 +61,11 @@ public class Settings implements net.ess3.api.ISettings {
return config.getBoolean("respawn-at-home", false);
}
@Override
public boolean isRespawnAtAnchor() {
return config.getBoolean("respawn-at-anchor", false);
}
@Override
public boolean getUpdateBedAtDaytime() {
return config.getBoolean("update-bed-at-daytime", true);