Skip to content

Commit

Permalink
fix: oops lmao
Browse files Browse the repository at this point in the history
  • Loading branch information
Zepalesque committed Jan 15, 2025
1 parent 51d6899 commit 921032f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ private void placeSpine(LevelSimulatedReader level, FoliageSetter setter, Random
if (isLowest) extendBelow = true;
if (isHighest) extendAbove = true;
mutable.setWithOffset(start, 0, i, 0);
placeLeavesRow(level, setter, rand, config, mutable, 0, 0, rand.nextBoolean());
placeLeavesRow(level, setter, rand, config, mutable, 0, 0, false);
}
}

Expand All @@ -67,7 +67,7 @@ private void placeSpine(LevelSimulatedReader level, FoliageSetter setter, Random
boolean place = (i != 1 || ((extendBelow) && rand.nextFloat() < 0.75F)) && (i != radius + 2 || ((extendAbove) && rand.nextFloat() < 0.75F));
if (place) {
mutable.setWithOffset(start, d.getNormal().getX(), i, d.getNormal().getZ());
placeLeavesRow(level, setter, rand, config, mutable, 0, 0, rand.nextBoolean());
placeLeavesRow(level, setter, rand, config, mutable, 0, 0, false);
}
}
}
Expand All @@ -77,7 +77,7 @@ private void placeSideSpine(LevelSimulatedReader level, FoliageSetter setter, Ra
boolean place = i != 0 || (extendBelow && rand.nextFloat() < 0.75F);
if (place) {
mutable.setWithOffset(start, d.getNormal().getX(), i, d.getNormal().getZ());
placeLeavesRow(level, setter, rand, config, mutable, 0, 0, rand.nextBoolean());
placeLeavesRow(level, setter, rand, config, mutable, 0, 0, false);
}
}
}
Expand Down

0 comments on commit 921032f

Please sign in to comment.