diff options
author | sfan5 <sfan5@live.de> | 2018-07-24 21:28:38 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2018-07-24 21:30:04 +0200 |
commit | 444cd0f2f1f4a599dad0a0694df6be4e37baa382 (patch) | |
tree | 244f4cee3c1f455c68ec9b25286f358f7cce73df /mesecons_powerplant/init.lua | |
parent | d4e05f33afc9a369fbbcdb49aea10cd860a7a680 (diff) |
Replace usage of default.LIGHT_MAX with minetest.LIGHT_MAX
It was moved a long time ago and the former is not guaranteed to be available.
fixes #424
Diffstat (limited to 'mesecons_powerplant/init.lua')
-rw-r--r-- | mesecons_powerplant/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesecons_powerplant/init.lua b/mesecons_powerplant/init.lua index 28cad25..356fb12 100644 --- a/mesecons_powerplant/init.lua +++ b/mesecons_powerplant/init.lua @@ -10,7 +10,7 @@ minetest.register_node("mesecons_powerplant:power_plant", { is_ground_content = false, walkable = false, groups = {dig_immediate=3, mesecon = 2}, - light_source = default.LIGHT_MAX-9, + light_source = minetest.LIGHT_MAX-9, description="Power Plant", selection_box = { type = "fixed", |