File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
common/src/main/java/sh/okx/civmodern/common/macro Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,9 @@ public void tick() {
34
34
mc .options .keyUp .setDown (false );
35
35
if (jump ) {
36
36
jump = false ;
37
- mc .options .keyJump .setDown (false );
37
+ if (!mc .player .isPassenger ()) {
38
+ mc .options .keyJump .setDown (false );
39
+ }
38
40
}
39
41
mc .options .keyUse .setDown (false );
40
42
waitingForFood = false ;
@@ -79,10 +81,14 @@ public void tick() {
79
81
waitingForFood = false ;
80
82
}
81
83
82
- mc .options .keyJump .setDown (true );
84
+ if (!mc .player .isPassenger ()) {
85
+ mc .options .keyJump .setDown (true );
86
+ }
83
87
jump = true ;
84
88
} else {
85
- mc .options .keyJump .setDown (false );
89
+ if (!mc .player .isPassenger ()) {
90
+ mc .options .keyJump .setDown (false );
91
+ }
86
92
jump = false ;
87
93
}
88
94
mc .options .keySprint .setDown (true );
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ minecraft_version=1.18.2
4
4
enabled_platforms =fabric,forge
5
5
6
6
archives_base_name =civmodern
7
- mod_version =1.4.2
7
+ mod_version =1.4.3
8
8
maven_group =sh.okx.civmodern
9
9
10
10
architectury_version =4.2.50
You can’t perform that action at this time.
0 commit comments