mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-22 11:53:29 +01:00
disallow disabling all negative aura imbalance effects
Can't believe this is something I have to do
This commit is contained in:
parent
c3a02a7f38
commit
c0806e3419
1 changed files with 4 additions and 0 deletions
|
@ -160,6 +160,10 @@ public final class ModConfig {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void apply() {
|
public void apply() {
|
||||||
|
if (!this.grassDieEffect.get() && !this.explosionEffect.get() && !this.breathlessEffect.get()) {
|
||||||
|
throw new IllegalStateException("Nature's Aura has detected that all negative Aura Imbalance effects are disabled in the config file. This is disallowed behavior. Please enable at least one negative effect.");
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
for (String s : this.additionalBotanistPickaxeConversions.get()) {
|
for (String s : this.additionalBotanistPickaxeConversions.get()) {
|
||||||
String[] split = s.split("->");
|
String[] split = s.split("->");
|
||||||
|
|
Loading…
Reference in a new issue