Merge pull request #6 from bell07/patch-1
Avoid "undeclared variable" warning if no tubelib installed
This commit is contained in:
commit
094490ced4
2
init.lua
2
init.lua
@ -356,7 +356,7 @@ end
|
||||
------------------------------------------------------------------------
|
||||
-- Optional adaption to tubelib
|
||||
------------------------------------------------------------------------
|
||||
if tubelib then
|
||||
if minetest.global_exists("tubelib") then
|
||||
tubelib.register_node("gravelsieve:auto_sieve3",
|
||||
{
|
||||
"gravelsieve:auto_sieve0",
|
||||
|
Loading…
Reference in New Issue
Block a user