mirror of
https://github.com/ElCeejo/animalia.git
synced 2025-07-20 13:14:47 -04:00
Fix multiple crashes, Improve multiple behaviors, Re-animate Horses
This commit is contained in:
parent
d9b868b926
commit
31c0232697
24 changed files with 923 additions and 184 deletions
|
@ -323,6 +323,7 @@ minetest.register_craftitem("animalia:lasso", {
|
|||
if pointed_thing.type == "object" then
|
||||
if pointed_thing.ref:is_player() then return end
|
||||
local ent = pointed_thing.ref:get_luaentity()
|
||||
if not ent.catch_with_lasso then return end
|
||||
if not ent.caught_with_lasso
|
||||
and not is_lasso_in_use(placer) then
|
||||
ent.caught_with_lasso = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue