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
This commit is contained in:
sfan5
2018-07-24 21:28:38 +02:00
parent d4e05f33af
commit 444cd0f2f1
4 changed files with 4 additions and 4 deletions

View File

@ -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",