From f40eeb4477a505682d924003955bfea71676aad9 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 8 Mar 2019 03:47:14 +0100 Subject: [PATCH] Make barrier particles glow in the dark --- mods/ITEMS/mcl_core/nodes_misc.lua | 1 + mods/PLAYER/mcl_playerplus/init.lua | 1 + 2 files changed, 2 insertions(+) diff --git a/mods/ITEMS/mcl_core/nodes_misc.lua b/mods/ITEMS/mcl_core/nodes_misc.lua index 7c6f7dc7ea..3eb4027442 100644 --- a/mods/ITEMS/mcl_core/nodes_misc.lua +++ b/mods/ITEMS/mcl_core/nodes_misc.lua @@ -138,6 +138,7 @@ minetest.register_node("mcl_core:barrier", { expirationtime = 1, size = 8, texture = "mcl_core_barrier.png", + glow = 14, playername = placer:get_player_name() }) end, diff --git a/mods/PLAYER/mcl_playerplus/init.lua b/mods/PLAYER/mcl_playerplus/init.lua index 17074ea985..ea232129c7 100644 --- a/mods/PLAYER/mcl_playerplus/init.lua +++ b/mods/PLAYER/mcl_playerplus/init.lua @@ -208,6 +208,7 @@ minetest.register_globalstep(function(dtime) expirationtime = 1, size = 8, texture = tex, + glow = 14, playername = name }) end