diff --git a/mods/story/api.lua b/mods/story/api.lua index 4667627..0d745cc 100644 --- a/mods/story/api.lua +++ b/mods/story/api.lua @@ -203,6 +203,9 @@ function story.generator.show(player, p) number = 0x00FF00, world_pos = p }) + if not p then + return + end minetest.add_entity(p, "story:human") end