Skip to content

Commit

Permalink
Fixed config not working properly, closes #4
Browse files Browse the repository at this point in the history
  • Loading branch information
Buuz135 committed Feb 26, 2024
1 parent eda1ba3 commit 7d753b2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Version 1.0.7

* Fixed config not working properly, closes #4

# Version 1.0.6

* Reduced how often the random tick blocks get accelerated, and added a config option to change it
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
org.gradle.jvmargs=-Xmx3G
org.gradle.daemon=false
minecraftVersion=1.20.1
modVersion=1.0.6
modVersion=1.0.7
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ public class ConfigSoulSurge {
public static int BLOCK_ACCELERATION_TICK = 4;

@ConfigVal(comment = "How often a random tick block will be accelerated, by default 3% of the ticks (random)")
@ConfigVal.InRangeInt(min = 0, max = 1)
@ConfigVal.InRangeDouble(min = 0, max = 1)
public static double RANDOM_TICK_ACCELERATION_CHANCE = 0.03;
}

0 comments on commit 7d753b2

Please sign in to comment.