From 56a9c3a05ba327efecd06595b8db87972270caeb Mon Sep 17 00:00:00 2001 From: ElCeejo <40281901+ElCeejo@users.noreply.github.com> Date: Sat, 16 Jul 2022 21:43:25 -0700 Subject: [PATCH] Fix bug --- api.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/api.lua b/api.lua index dffb97e..3dad10f 100644 --- a/api.lua +++ b/api.lua @@ -19,7 +19,6 @@ local function clamp(val, min, max) end local vec_dist = vector.distance -local vec_multi = vector.multiply local vec_equals = vector.equals local vec_add = vector.add @@ -433,7 +432,7 @@ function creatura.drop_items(self) end end -function creatura.basic_punch_func(self, puncher, time_from_last_punch, tool_capabilities, direction, damage) +function creatura.basic_punch_func(self, puncher, time_from_last_punch, tool_capabilities, direction) if not puncher then return end local tool = "" if puncher:is_player() then