From fba463ef4acf4b0615fd34b9c4cda38b5322398c Mon Sep 17 00:00:00 2001 From: cale Date: Sat, 13 Feb 2016 11:14:53 +0100 Subject: [PATCH] fixed story bug --- mods/story/api.lua | 3 +++ 1 file changed, 3 insertions(+) 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