Skip to content

Commit

Permalink
Trial Warmup time being set to Max Time. Fixed #36
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanPB committed Mar 15, 2021
1 parent d8713c2 commit 4e2dc67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fabric_version=0.18.0+build.397-1.16
loom_version=0.4-SNAPSHOT

# Mod Properties
mod_version = 0.3.2-beta1
mod_version = 0.3.2-beta2
maven_group = dev.nathanpb
archives_base_name = deepmoblearning-refabricated

Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/dev/nathanpb/dml/ModConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class Trial : ConfigData {

override fun validatePostLoad() {
maxTime = max(0, maxTime)
warmupTime = max(maxTime, warmupTime)
warmupTime = min(maxTime, warmupTime)
if (maxMobsInArena < 0) {
maxMobsInArena = 0
}
Expand Down

0 comments on commit 4e2dc67

Please sign in to comment.