From 5251085752e513a236be09198caeaf09c1e90253 Mon Sep 17 00:00:00 2001 From: InviseDivine Date: Sat, 21 Mar 2026 19:09:11 +0200 Subject: [PATCH] i broke all --- src/client/Minecraft.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/client/Minecraft.cpp b/src/client/Minecraft.cpp index 0cc8e44..e200797 100755 --- a/src/client/Minecraft.cpp +++ b/src/client/Minecraft.cpp @@ -880,10 +880,7 @@ void Minecraft::tickInput() { handleBuildAction(&bai); } #ifdef __ANDROID__ - bool isTryingToDestroyBlock = (options.useMouseForDigging - ? (Mouse::isButtonDown(MouseAction::ACTION_LEFT) && mouseDiggable) - : Keyboard::isKeyDown(options.keyDestroy.key)) - || (buildHandled && bai.isRemove()); + bool isTryingToDestroyBlock = buildHandled && bai.isRemove(); handleMouseDown(MouseAction::ACTION_LEFT, isTryingToDestroyBlock || (buildHandled && bai.isInteract())); #endif } else { @@ -930,9 +927,9 @@ void Minecraft::tickInput() { } void Minecraft::handleMouseDown(int button, bool down) { #ifndef STANDALONE_SERVER -#ifndef RPI +#ifdef __ANDROID__ if(player->isUsingItem()) { - if(!down && !Keyboard::isKeyDown(options.keyUse.key)) { + if(!down) { gameMode->releaseUsingItem(player); } return;