Add protection check when digging vines (#58)

这个提交包含在:
Niklp
2023-08-30 23:30:10 +02:00
提交者 GitHub
父节点 9e771e2988
当前提交 6a3c47157f

查看文件

@@ -37,6 +37,9 @@ end
-- FUNCTIONS
local function on_dig(pos, node, player)
if not player or minetest.is_protected(pos, player:get_player_name()) then
return
end
local vine_name_end = node.name:gsub("_middle", "_end")
local drop_item = "vines:vines"
if enable_vines == false then