diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2018-04-20 12:57:07 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2018-04-20 12:57:07 +0100 |
commit | 429683f017259859979b4c0f6a13d9f31fd7b918 (patch) | |
tree | efc694469925d2e6aabe52e4fa2f871d50b156f1 | |
parent | 32f7a6d3bc03dc9eb324e3556fec276b056e9e27 (diff) |
fix nyancat lucky block
-rw-r--r-- | lucky_block.lua | 8 |
1 files 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 |