mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-16 08:05:34 -04:00
Fix: Do not send a drop item message on hand swap
This commit is contained in:
parent
88149ae889
commit
62dd60d96c
@ -313,9 +313,10 @@ public class MinecraftGLSurface extends View implements GrabListener {
|
|||||||
if(hasDoubleTapped && hudKeyHandled == mLastHotbarKey && !PREF_DISABLE_SWAP_HAND){
|
if(hasDoubleTapped && hudKeyHandled == mLastHotbarKey && !PREF_DISABLE_SWAP_HAND){
|
||||||
//Prevent double tapping Event on two different slots
|
//Prevent double tapping Event on two different slots
|
||||||
sendKeyPress(LwjglGlfwKeycode.GLFW_KEY_F);
|
sendKeyPress(LwjglGlfwKeycode.GLFW_KEY_F);
|
||||||
|
} else {
|
||||||
|
mHandler.sendEmptyMessageDelayed(MSG_DROP_ITEM_BUTTON_CHECK, 350);
|
||||||
}
|
}
|
||||||
|
|
||||||
mHandler.sendEmptyMessageDelayed(MSG_DROP_ITEM_BUTTON_CHECK, 350);
|
|
||||||
CallbackBridge.sendCursorPos(CallbackBridge.mouseX, CallbackBridge.mouseY);
|
CallbackBridge.sendCursorPos(CallbackBridge.mouseX, CallbackBridge.mouseY);
|
||||||
mLastHotbarKey = hudKeyHandled;
|
mLastHotbarKey = hudKeyHandled;
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user