forked from VoxeLibre/VoxeLibre
Update comment according to VoxeLibre/VoxeLibre#4338 (comment)
This commit is contained in:
parent
09307292bc
commit
aea9e6d182
|
@ -8,7 +8,7 @@ local effects_handlers = {}
|
||||||
local has_mcl_potions = mcl_util.to_bool(minetest.get_modpath("mcl_potions"))
|
local has_mcl_potions = mcl_util.to_bool(minetest.get_modpath("mcl_potions"))
|
||||||
|
|
||||||
function effects_handlers.darkness(player, meta, effect, sky_data)
|
function effects_handlers.darkness(player, meta, effect, sky_data)
|
||||||
-- No darkness effect if visited by shepherd
|
-- No darkness effect if is a visited shepherd
|
||||||
if meta:get_int("mcl_shepherd:special") == 1 then return end
|
if meta:get_int("mcl_shepherd:special") == 1 then return end
|
||||||
|
|
||||||
-- High stars
|
-- High stars
|
||||||
|
|
Loading…
Reference in New Issue