Skip to content

Commit 6b09349

Browse files
committed
Fix potency background toggle retrieving value from timer, close #9
1 parent 0a249e5 commit 6b09349

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 2.2.7
4+
5+
- Fixed potency background toggle option not working
6+
37
## 2.2.6
48

59
- Fixed YACL mod ID in dependencies

common/src/main/java/dev/terminalmc/effecttimerplus/gui/screen/YaclScreenProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ static Screen getConfigScreen(Screen parent) {
211211
.addListener((option, event) -> preview.potencyBack = option.pendingValue())
212212
.binding(Config.defaultPotencyBack,
213213
() -> options.potencyBack,
214-
val -> options.timerBack = val)
214+
val -> options.potencyBack = val)
215215
.controller(option -> BooleanControllerBuilder.create(option).coloured(true))
216216
.build());
217217

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Neo/Forge version ranges: https://maven.apache.org/enforcer/enforcer-rules/versionRanges.html
44

55
# Project
6-
mod_version=2.2.6+1.21
6+
mod_version=2.2.7+1.21
77
mod_group=dev.terminalmc
88
mod_id=effecttimerplus
99
mod_name=EffectTimerPlus

0 commit comments

Comments
 (0)