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:
@ -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
|
||||
|
Reference in New Issue
Block a user