mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-18 04:20:11 -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;
|
||||
}
|
||||
if(msg.what == MSG_DROP_ITEM_BUTTON_CHECK) {
|
||||
sendKeyPress(LWJGLGLFWKeycode.GLFW_KEY_Q);
|
||||
theHandler.sendEmptyMessageDelayed(MSG_DROP_ITEM_BUTTON_CHECK, 600);
|
||||
if(CallbackBridge.isGrabbing()){
|
||||
sendKeyPress(LWJGLGLFWKeycode.GLFW_KEY_Q);
|
||||
theHandler.sendEmptyMessageDelayed(MSG_DROP_ITEM_BUTTON_CHECK, 600);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue