This commit is contained in:
Anuken 2025-04-04 12:14:59 -04:00
parent ae75123d3e
commit 80815bf8a1
2 changed files with 3 additions and 1 deletions

View file

@ -1983,6 +1983,8 @@ public abstract class InputHandler implements InputProcessor, GestureListener{
}
public void tryDropItems(@Nullable Building build, float x, float y){
if(player.dead()) return;
if(!droppingItem || player.unit().stack.amount <= 0 || canTapPlayer(x, y) || state.isPaused() ){
droppingItem = false;
return;