mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-20 13:30:15 -07:00
Fix handler infinitely throwing out items
This commit is contained in:
parent
edd8859f2d
commit
da13f2ed72
1 changed files with 4 additions and 2 deletions
|
|
@ -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) {
|
||||||
|
if(CallbackBridge.isGrabbing()){
|
||||||
sendKeyPress(LWJGLGLFWKeycode.GLFW_KEY_Q);
|
sendKeyPress(LWJGLGLFWKeycode.GLFW_KEY_Q);
|
||||||
theHandler.sendEmptyMessageDelayed(MSG_DROP_ITEM_BUTTON_CHECK, 600);
|
theHandler.sendEmptyMessageDelayed(MSG_DROP_ITEM_BUTTON_CHECK, 600);
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue