forked from VoxeLibre/VoxeLibre
Fix initial_properties for minecarts
This commit is contained in:
parent
d45bf2d65f
commit
f476e43084
|
@ -184,12 +184,14 @@ local entity_mapping = {}
|
||||||
|
|
||||||
local function register_entity(entity_id, mesh, textures, drop, on_rightclick, on_activate_by_rail)
|
local function register_entity(entity_id, mesh, textures, drop, on_rightclick, on_activate_by_rail)
|
||||||
local cart = {
|
local cart = {
|
||||||
physical = false,
|
initial_properties = {
|
||||||
collisionbox = {-10/16., -0.5, -10/16, 10/16, 0.25, 10/16},
|
physical = false,
|
||||||
visual = "mesh",
|
collisionbox = {-10/16., -0.5, -10/16, 10/16, 0.25, 10/16},
|
||||||
mesh = mesh,
|
visual = "mesh",
|
||||||
visual_size = {x=1, y=1},
|
mesh = mesh,
|
||||||
textures = textures,
|
visual_size = {x=1, y=1},
|
||||||
|
textures = textures,
|
||||||
|
},
|
||||||
|
|
||||||
on_rightclick = on_rightclick,
|
on_rightclick = on_rightclick,
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue