Remove the ability to teleport carts with the digilines rails, for real this time
This commit is contained in:
parent
69c7b84dda
commit
92a8d35af7
2
init.lua
2
init.lua
@ -414,7 +414,7 @@ if minetest.get_modpath("digilines") then
|
||||
local velocity = trackmeta:get_string("velocity")
|
||||
if velocity then velocity = minetest.deserialize(velocity) end
|
||||
if not velocity then return end
|
||||
local possible_carts = minetest.get_objects_inside_radius(pos,1)
|
||||
local possible_carts = minetest.get_objects_inside_radius(pos,0.5)
|
||||
for _,object in pairs(possible_carts) do
|
||||
local cart = object:get_luaentity()
|
||||
if cart and cart.name == "carts:cart" then
|
||||
|
Loading…
x
Reference in New Issue
Block a user