From 537344bc62157e2b4eb26dc55c9e38882048d58a Mon Sep 17 00:00:00 2001 From: user Date: Wed, 20 Jun 2012 04:33:26 +0000 Subject: [PATCH] Make rails selectable. Rails weren't selectable, and couldn't be removed from a map asides from using worldedit (or maybe sand) --- mods/default/init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mods/default/init.lua b/mods/default/init.lua index 58d39771..5eb1584b 100644 --- a/mods/default/init.lua +++ b/mods/default/init.lua @@ -939,7 +939,8 @@ minetest.register_node("default:rail", { walkable = false, selection_box = { type = "fixed", - --fixed = + -- but how to specify the dimensions for curved and sideways rails? + fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2}, }, groups = {bendy=2,snappy=1,dig_immediate=2}, }) -- 2.25.1