forked from RepoMirrors/kami-blue
actually fix inventorymove mixin compatibility
This commit is contained in:
parent
9fff15529c
commit
94923cd86e
|
@ -20,7 +20,7 @@ import static me.zeroeightsix.kami.KamiMod.MODULE_MANAGER;
|
||||||
*
|
*
|
||||||
* @see InventoryMove
|
* @see InventoryMove
|
||||||
*/
|
*/
|
||||||
@Mixin(value = MovementInputFromOptions.class, priority = 999)
|
@Mixin(value = MovementInputFromOptions.class, priority = Integer.MAX_VALUE)
|
||||||
public abstract class MixinMovementInputFromOptions extends MovementInput {
|
public abstract class MixinMovementInputFromOptions extends MovementInput {
|
||||||
@Redirect(method = "updatePlayerMoveState", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/settings/KeyBinding;isKeyDown()Z"))
|
@Redirect(method = "updatePlayerMoveState", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/settings/KeyBinding;isKeyDown()Z"))
|
||||||
public boolean isKeyPressed(KeyBinding keyBinding) {
|
public boolean isKeyPressed(KeyBinding keyBinding) {
|
||||||
|
|
Loading…
Reference in New Issue