mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-17 00:29:50 -04:00
Fix handler infinitely throwing out items
This commit is contained in:
parent
edd8859f2d
commit
da13f2ed72
@ -98,8 +98,10 @@ public class MinecraftGLView extends TextureView {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if(msg.what == MSG_DROP_ITEM_BUTTON_CHECK) {
|
if(msg.what == MSG_DROP_ITEM_BUTTON_CHECK) {
|
||||||
sendKeyPress(LWJGLGLFWKeycode.GLFW_KEY_Q);
|
if(CallbackBridge.isGrabbing()){
|
||||||
theHandler.sendEmptyMessageDelayed(MSG_DROP_ITEM_BUTTON_CHECK, 600);
|
sendKeyPress(LWJGLGLFWKeycode.GLFW_KEY_Q);
|
||||||
|
theHandler.sendEmptyMessageDelayed(MSG_DROP_ITEM_BUTTON_CHECK, 600);
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user