@@ -83,8 +83,7 @@ export default ({ setupActive, closeButtonsSetup, foregroundGameActive }: Props)
8383 } ,
8484 sneak ( ) {
8585 void contro . emit ( 'trigger' , {
86- command : 'general.toggleSneakOrDown' ,
87- schema : null as any ,
86+ command : 'movement.toggleSneakOrDown' ,
8887 } )
8988 active = bot ?. getControlState ( 'sneak' )
9089 } ,
@@ -96,8 +95,7 @@ export default ({ setupActive, closeButtonsSetup, foregroundGameActive }: Props)
9695 } ,
9796 jump ( ) {
9897 void contro . emit ( 'trigger' , {
99- command : 'general.jump' ,
100- schema : null as any ,
98+ command : 'movement.jump' ,
10199 } )
102100 active = bot ?. controlState . jump
103101 }
@@ -108,8 +106,7 @@ export default ({ setupActive, closeButtonsSetup, foregroundGameActive }: Props)
108106 } ,
109107 sneak ( ) {
110108 void contro . emit ( 'release' , {
111- command : 'general.toggleSneakOrDown' ,
112- schema : null as any ,
109+ command : 'movement.toggleSneakOrDown' ,
113110 } )
114111 active = bot ?. getControlState ( 'sneak' )
115112 } ,
@@ -121,8 +118,7 @@ export default ({ setupActive, closeButtonsSetup, foregroundGameActive }: Props)
121118 } ,
122119 jump ( ) {
123120 void contro . emit ( 'release' , {
124- command : 'general.jump' ,
125- schema : null as any ,
121+ command : 'movement.jump' ,
126122 } )
127123 active = bot ?. controlState . jump
128124 }
0 commit comments