Add method 'sneaker.spawn' to spawn entity

This commit is contained in:
AntumDeluge
2017-05-29 00:58:55 -07:00
committed by Jordan Irwin
parent 1f04669a68
commit 439646417a
2 changed files with 7 additions and 1 deletions

View File

@@ -52,6 +52,6 @@ minetest.register_abm({
end
if count >= sneeker.spawn_cap then return end -- Max sneekers already exist
minetest.add_entity(pos, sneeker.mob_name)
sneeker.spawn(pos)
end
})