From 9103c455ddb85b6eaa55f304a8ec0f6d7bff5adf Mon Sep 17 00:00:00 2001 From: FaceDeer Date: Sun, 10 Sep 2017 23:24:09 -0600 Subject: appears to be a timing issue with doc.show_entry --- node_crate.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'node_crate.lua') diff --git a/node_crate.lua b/node_crate.lua index 7e41a8e..017023d 100644 --- a/node_crate.lua +++ b/node_crate.lua @@ -100,7 +100,7 @@ minetest.register_node("digtron:loaded_crate", { end if fields.help and minetest.get_modpath("doc") then --check for mod in case someone disabled it after this digger was built - doc.show_entry(sender:get_player_name(), "nodes", "digtron:loaded_crate") + minetest.after(0.5, doc.show_entry, sender:get_player_name(), "nodes", "digtron:loaded_crate", true) end if not (fields.unpack or fields.show) then -- cgit v1.2.3