From e81330a8432d54680a8b75ca39558f694347a5ff Mon Sep 17 00:00:00 2001 From: teknomunk Date: Sat, 30 Mar 2024 23:00:17 +0000 Subject: [PATCH] Finish reverting 08b41a3b392005e7078b09d68854e6df562d5fd7 --- mods/ENTITIES/mcl_minecarts/rails.lua | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/mods/ENTITIES/mcl_minecarts/rails.lua b/mods/ENTITIES/mcl_minecarts/rails.lua index 3ec8980b2..ec076cbc8 100644 --- a/mods/ENTITIES/mcl_minecarts/rails.lua +++ b/mods/ENTITIES/mcl_minecarts/rails.lua @@ -225,22 +225,6 @@ register_rail("mcl_minecarts:golden_rail_on", onstate = "mcl_minecarts:golden_rail_on", rules = rail_rules_long, }, - effector = { - action_on = function(pos, node) - local dir = mcl_minecarts:get_start_direction(pos) - if not dir then return end - local objs = minetest.get_objects_inside_radius(pos, 1) - for _, o in pairs(objs) do - local l = o:get_luaentity() - local v = o:get_velocity() - if l and string.sub(l.name, 1, 14) == "mcl_minecarts:" - and v and vector.equals(v, vector.zero()) - then - mcl_minecarts:set_velocity(l, dir) - end - end -end, - }, }, drop = "mcl_minecarts:golden_rail", },