diff --git a/depends.txt b/depends.txt index 331d858..21c2521 100644 --- a/depends.txt +++ b/depends.txt @@ -1 +1 @@ -default \ No newline at end of file +default? \ No newline at end of file diff --git a/init.lua b/init.lua index 3005962..c394903 100644 --- a/init.lua +++ b/init.lua @@ -68,6 +68,10 @@ dynamic_liquid.liquid_abm = function(liquid, flowing_liquid, chance) }) end +if not minetest.get_modpath("default") then + return +end + local water = minetest.setting_getbool("dynamic_liquid_water") water = water or water == nil -- default true