Simplify settings

This commit is contained in:
CocoTheOwner committed 2021-09-10 01:35:26 +02:00
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);