mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-12-19 16:25:47 +01:00
Updated BobBlocks (from @HybridDog's fork)
This commit is contained in:
@@ -21,7 +21,7 @@ local toggle_healthpack = function (pos, node)
|
||||
if not is_healthgate(node) then return end
|
||||
update_healthpack (pos, node, state)
|
||||
end
|
||||
|
||||
|
||||
local on_healthpack_punched = function (pos, node, puncher)
|
||||
if node.name == 'bobblocks:health_off' or node.name == 'bobblocks:health_on' then
|
||||
update_healthpack(pos, node)
|
||||
@@ -77,7 +77,7 @@ minetest.register_abm(
|
||||
minetest.remove_node(pos) -- remove the node after use
|
||||
end
|
||||
end,
|
||||
|
||||
|
||||
})
|
||||
|
||||
--- Health
|
||||
|
||||
Reference in New Issue
Block a user