mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 00:19:32 +01:00
Prevent easy jumping over fence gates
This commit is contained in:
parent
d58d9c7641
commit
d80e2d0bf9
1 changed files with 7 additions and 1 deletions
|
@ -154,10 +154,16 @@ mcl_fences.register_fence = function(id, fence_name, fence_gate_name, texture, f
|
|||
{2/16, -1/2+6/16, -1/16, 1/2, -1/2+9/16, 1/16}, --unten(quer) z
|
||||
}
|
||||
},
|
||||
collision_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-1/2, -1/2+5/16, -2/16, 1/2, 1, 2/16}, --gate
|
||||
}
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-1/2, -1/2+5/16, -1/16, 1/2, 1/2, 1/16}, --gate
|
||||
{-1/2, -1/2+5/16, -1/16, 1/2, 1/2, 1/16}, --gate
|
||||
}
|
||||
},
|
||||
on_construct = function(pos)
|
||||
|
|
Loading…
Reference in a new issue