From 3566163905425e1610e1c03a0b99a509d855f3b3 Mon Sep 17 00:00:00 2001 From: JoakimThorsen Date: Fri, 29 Mar 2024 14:01:05 +0100 Subject: [PATCH] rule tweak --- src/main/java/com/joacarpet/InsaneBehaviors.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/joacarpet/InsaneBehaviors.java b/src/main/java/com/joacarpet/InsaneBehaviors.java index e82f343..2747574 100644 --- a/src/main/java/com/joacarpet/InsaneBehaviors.java +++ b/src/main/java/com/joacarpet/InsaneBehaviors.java @@ -50,9 +50,9 @@ public static ArrayList 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; } }