Avoid "undeclared variable" warning if no tubelib installed
This commit is contained in:
parent
b8166014ca
commit
2ec31086d5
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…
x
Reference in New Issue
Block a user