mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 08:29:34 +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,6 +154,12 @@ 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
|
{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 = {
|
selection_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {
|
fixed = {
|
||||||
|
|
Loading…
Reference in a new issue