Added in option to remove effects on heal (#2754)

This commit is contained in:
Glare 2020-03-13 03:24:29 -06:00 committed by GitHub
parent f20572b30c
commit e3ec0f3b9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 21 additions and 2 deletions

View file

@ -1625,6 +1625,17 @@ public class Settings implements net.ess3.api.ISettings {
return maxProjectileSpeed;
}
private boolean removeEffectsOnHeal;
private boolean _isRemovingEffectsOnHeal() {
return config.getBoolean("remove-effects-on-heal", true);
}
@Override
public boolean isRemovingEffectsOnHeal() {
return removeEffectsOnHeal;
}
@Override
public boolean isSpawnIfNoHome() {
return config.getBoolean("spawn-if-no-home", true);