mirror of
https://github.com/ElCeejo/creatura.git
synced 2025-03-15 12:21:24 +00:00
Fix bug
This commit is contained in:
parent
2b62dc0f22
commit
56a9c3a05b
1 changed files with 1 additions and 2 deletions
3
api.lua
3
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
|
||||
|
|
Loading…
Add table
Reference in a new issue