Skip to content

Commit

Permalink
rule tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
JoakimThorsen committed Mar 29, 2024
1 parent 82f25f6 commit 3566163
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/com/joacarpet/InsaneBehaviors.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ public static ArrayList<Float> nextEvenlyDistributedPoint(int dimensions) {

if (!JoaCarpetSettings.insaneBehaviorsIncrement.equals("freeze")) {
counter++;
if (JoaCarpetSettings.insaneBehaviorsIncrement.equals("normal")
&& counter >= Math.pow(resolution, dimensions)) {
resolution = (resolution - 1) * 2 + 1;
if (counter >= Math.pow(resolution, dimensions)) {
if (JoaCarpetSettings.insaneBehaviorsIncrement.equals("normal"))
resolution = (resolution - 1) * 2 + 1;
counter = 0;
}
}
Expand Down

0 comments on commit 3566163

Please sign in to comment.