mirror of
https://github.com/ElCeejo/creatura.git
synced 2025-07-06 23:00:36 -04:00
Bug fixes
This commit is contained in:
parent
fc6a203da2
commit
72f55abc2d
3 changed files with 3 additions and 4 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
|
||||
|
||||
|
@ -437,7 +436,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
Add a link
Reference in a new issue