From 429683f017259859979b4c0f6a13d9f31fd7b918 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Fri, 20 Apr 2018 12:57:07 +0100 Subject: [PATCH] fix nyancat lucky block --- lucky_block.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lucky_block.lua b/lucky_block.lua index 247aa32..94befc3 100644 --- a/lucky_block.lua +++ b/lucky_block.lua @@ -14,8 +14,12 @@ if minetest.get_modpath("lucky_block") then {"spw", "mobs:cow", 5}, {"dro", {"mobs:bucket_milk"}, 8}, {"spw", "mobs:kitten", 2}, - {"tro", "default:nyancat", "mobs_kitten", true}, {"exp"}, }) - + + if minetest.registered_nodes["default:nyancat"] then + lucky_block:add_blocks({ + {"tro", "default:nyancat", "mobs_kitten", true}, + }) + end end