actually fix inventorymove mixin compatibility

This commit is contained in:
Bella 2020-04-07 10:48:45 -04:00
parent 9fff15529c
commit 94923cd86e
No known key found for this signature in database
GPG Key ID: DBD4A6030080C8B3
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ import static me.zeroeightsix.kami.KamiMod.MODULE_MANAGER;
*
* @see InventoryMove
*/
@Mixin(value = MovementInputFromOptions.class, priority = 999)
@Mixin(value = MovementInputFromOptions.class, priority = Integer.MAX_VALUE)
public abstract class MixinMovementInputFromOptions extends MovementInput {
@Redirect(method = "updatePlayerMoveState", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/settings/KeyBinding;isKeyDown()Z"))
public boolean isKeyPressed(KeyBinding keyBinding) {