From 0d619ec6a831baffcf7bb6b5b1ca2a81eea65b30 Mon Sep 17 00:00:00 2001 From: NO11 Date: Fri, 28 May 2021 17:26:00 +0000 Subject: [PATCH] Make vine protect from fall damage --- mods/PLAYER/mcl_playerplus/init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mods/PLAYER/mcl_playerplus/init.lua b/mods/PLAYER/mcl_playerplus/init.lua index ceaef6346..fc8dbcd51 100644 --- a/mods/PLAYER/mcl_playerplus/init.lua +++ b/mods/PLAYER/mcl_playerplus/init.lua @@ -549,6 +549,9 @@ mcl_damage.register_modifier(function(obj, damage, reason) if node.name == "mcl_core:cobweb" then return 0 end + if node.name == "mcl_core:vine" then + return 0 + end end pos = vector.add(pos, step) node = minetest.get_node(pos)