Skip to content

Commit 5c93773

Browse files
committed
Mixed logic
1 parent 419fa9d commit 5c93773

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

CHANGELOG.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
| Version | Released at |
22
| :-----: | :---------: |
33
| v2.0.0 | 04/11/2018 |
4-
| v2.0.1 | 29/12/2018 |
4+
| v2.0.1 | 29/12/2018 |
55
| v2.0.2 | 08/12/2019 |
6+
| v2.0.3 | 08/12/2019 |
67

78
Changelog
89
=======
910

11+
v2.0.3
12+
-----
13+
- [BUG] Required to press a button twice when you press over a tick (\#51)
14+
1015
v2.0.2
1116
-----
1217
- [BUG] Required to press a button twice when you press over a tick (\#51)

build.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
mod_version=2.0.2
1+
mod_version=2.0.3
22
mod_name=MacroKey Keybinding
33
mod_group=com.mattsmeets.macrokey
44
mc_version=1.12

src/main/java/com/mattsmeets/macrokey/handler/GameTickHandler.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public void onKeyEvent(MacroActivationEvent event) {
3636
if (event.getMacroState().isKeyDown()) {
3737
this.macrosToRun.addAll(event.getMacros());
3838
} else {
39-
this.macrosToRun.removeIf(macro -> event.getMacros().contains(macro) && !macro.willRepeat());
39+
this.macrosToRun.removeIf(macro -> event.getMacros().contains(macro) && macro.willRepeat());
4040
}
4141
}
4242

0 commit comments

Comments
 (0)