Skip to content

Commit 3e05870

Browse files
committedSep 23, 2016
Doors: Trim open fencegate collison box again
The collision box still extended into a neighbouring empty node, causing falling node objects to collide but not transform back into normal nodes. Completes the fix started in a previous similar commit.
1 parent 34c768d commit 3e05870

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎mods/doors/init.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ function doors.register_fencegate(name, def)
696696
fence_open.collision_box = {
697697
type = "fixed",
698698
fixed = {{-1/2, -1/2, -1/4, -3/8, 1/2, 1/4},
699-
{-5/8, -3/8, -1/2, -3/8, 3/8, 0}},
699+
{-1/2, -3/8, -1/2, -3/8, 3/8, 0}},
700700
}
701701

702702
minetest.register_node(":" .. name .. "_closed", fence_closed)

0 commit comments

Comments
 (0)