forked from MineClone5/MineClone5
Make barrier particles glow in the dark
This commit is contained in:
parent
f7d9aea529
commit
f40eeb4477
|
@ -138,6 +138,7 @@ minetest.register_node("mcl_core:barrier", {
|
||||||
expirationtime = 1,
|
expirationtime = 1,
|
||||||
size = 8,
|
size = 8,
|
||||||
texture = "mcl_core_barrier.png",
|
texture = "mcl_core_barrier.png",
|
||||||
|
glow = 14,
|
||||||
playername = placer:get_player_name()
|
playername = placer:get_player_name()
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
|
|
|
@ -208,6 +208,7 @@ minetest.register_globalstep(function(dtime)
|
||||||
expirationtime = 1,
|
expirationtime = 1,
|
||||||
size = 8,
|
size = 8,
|
||||||
texture = tex,
|
texture = tex,
|
||||||
|
glow = 14,
|
||||||
playername = name
|
playername = name
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue