From 9e5faf24870811972d2028ca51aa2ce9b5ff32e3 Mon Sep 17 00:00:00 2001 From: Blockhead Date: Thu, 17 Aug 2023 02:01:57 +1000 Subject: Make faregate more secure * Make faregate unclimbable by making its collision boxes 2m tall. * Set node dig predictions to predict not breaking, to prevent vanilla clients on recent versions from lagging through. * Apply the metadata inventory movement restrictions to the open gate as well. --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init.lua') diff --git a/init.lua b/init.lua index 53be735..370a444 100644 --- a/init.lua +++ b/init.lua @@ -186,7 +186,7 @@ minetest.register_node("farebox:farebox", { on_rightclick = function(pos, node, player, itemstack, pointed_thing) farebox.show_formspec(pos, player) end, - + node_dig_prediction = "farebox:farebox", }) minetest.register_craft({ -- cgit v1.2.3