diff --git a/the_bridge.lua b/the_bridge.lua index 68972a1..8a53a35 100644 --- a/the_bridge.lua +++ b/the_bridge.lua @@ -137,7 +137,9 @@ minetest.register_node("the_bridge:void", { diggable = false, buildable_to = false, drop = "", - damage_per_second = 40, + on_walk_over=function(pos, node, player) + player:set_hp(0) + end, }) minetest.register_tool("the_bridge:stonesword", { @@ -169,4 +171,4 @@ minetest.register_craftitem("the_bridge:gapple",{ on_secondary_use = gappleeat, description = S("Golden Apple"), inventory_image = "default_apple.png^[colorize:#ead535", -}) \ No newline at end of file +})