1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-07-04 17:10:24 +02:00

[hudbars & bobblocks & solarmana & sprint] Prepare for 0.4.14

- For #427
This commit is contained in:
LeMagnesium
2016-04-17 18:11:33 +02:00
parent d6ed358c16
commit bd120ad481
7 changed files with 90 additions and 7 deletions

View File

@ -86,7 +86,7 @@ local function tick()
for key, value in pairs(mana_from_node) do
if key:split(":")[1] == "group" then
local groupname = key:split(":")[2]
if minetest.get_node_group(node.name, groupname) > 0 then
if minetest.get_item_group(node.name, groupname) > 0 then
if nodemana then
nodemana = math.max(nodemana, value) -- We get the greater one (if the node is part of 2 or more groups)
else