From b0e549065ca9f260c5c6dc9efbe3019e013da43c Mon Sep 17 00:00:00 2001 From: jodokus31 <33641866+jodokus31@users.noreply.github.com> Date: Sat, 6 May 2023 22:45:32 +0200 Subject: [PATCH] Dragging only happens, if you start on an empty tile --- extended-fasttransfer/control.lua | 1 + extended-fasttransfer/info.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/extended-fasttransfer/control.lua b/extended-fasttransfer/control.lua index 6f1fa5f..cd5f032 100644 --- a/extended-fasttransfer/control.lua +++ b/extended-fasttransfer/control.lua @@ -117,6 +117,7 @@ local function common_custominput_handler(e) end handle_action_on_entity(player, selected_entity, state, tick) + actiontype.reset_action(state) end script.on_event(custom_inputs.topupplayerstacks, common_custominput_handler) diff --git a/extended-fasttransfer/info.json b/extended-fasttransfer/info.json index 1550efc..9b501b5 100644 --- a/extended-fasttransfer/info.json +++ b/extended-fasttransfer/info.json @@ -1,6 +1,6 @@ { "name": "extended-fasttransfer", - "version": "0.0.2", + "version": "0.0.3", "title": "Extended Fast Transfer", "author": "jodokus31", "contact": "",