mirror of
https://github.com/ElCeejo/creatura.git
synced 2025-07-12 17:42:27 -04:00
Improved obstacle avoidance, bug fixes
This commit is contained in:
parent
745f7b7f30
commit
e4c5abe3c9
3 changed files with 132 additions and 80 deletions
|
@ -116,7 +116,7 @@ function creatura.register_spawn_item(name, def)
|
|||
return itemstack
|
||||
end
|
||||
end
|
||||
minetest.register_craftitem(mod_name .. ":spawn_" .. mob_name, def)
|
||||
minetest.register_craftitem(def.itemstring or (mod_name .. ":spawn_" .. mob_name), def)
|
||||
end
|
||||
|
||||
function creatura.register_mob_spawn(name, def)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue