From 09d6475ce06d22a9a8d2a9e63614a0ffe6b8687b Mon Sep 17 00:00:00 2001 From: Jordan Irwin Date: Sat, 31 Jul 2021 01:10:48 -0700 Subject: [PATCH] Fix missing sound_hand declaration --- misc_functions.lua | 2 ++ tools.lua | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/misc_functions.lua b/misc_functions.lua index 76378af..9380d14 100644 --- a/misc_functions.lua +++ b/misc_functions.lua @@ -151,6 +151,8 @@ local tool = { end, } +local sound_handle + tool.on_use = function(stack, user, pointed_thing) if not user:is_player() then return end diff --git a/tools.lua b/tools.lua index c6c3f80..fb8e20d 100644 --- a/tools.lua +++ b/tools.lua @@ -9,8 +9,6 @@ local S = core.get_translator(cleaner.modname) local aux = dofile(cleaner.modpath .. "/misc_functions.lua") -local sound_handle - --- Master Pencil -- -- @tool cleaner:pencil