mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-21 07:46:55 +00:00
Simplify settings
This commit is contained in:
1 parent
c3b1d6735e
commit
c5bf0e0cb7
3 files changed
+4
-19
No files matched your search
@@ -493,7 +493,7 @@ public class B {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (bx instanceof Leaves && IrisSettings.get().getGenerator().preventLeafDecay) {
|
||||
if (bx instanceof Leaves && IrisSettings.get().getGenerator().isPreventLeafDecay()) {
|
||||
((Leaves) bx).setPersistent(true);
|
||||
} else if (bx instanceof Leaves) {
|
||||
((Leaves) bx).setPersistent(false);
|
||||
|
||||
Reference in new issue
Block a user