From ce8040ff258b74ee50fcfdfce1e8afa5b9e0905d Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Mon, 5 Jun 2017 14:52:13 +0200 Subject: [PATCH] Remove legacy stairs ABM --- mods/ITEMS/stairs/init.lua | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/mods/ITEMS/stairs/init.lua b/mods/ITEMS/stairs/init.lua index 33975a3aba..7f56357b3b 100644 --- a/mods/ITEMS/stairs/init.lua +++ b/mods/ITEMS/stairs/init.lua @@ -222,29 +222,6 @@ function stairs.register_slab(subname, recipeitem, groups, images, description, end --- Optionally replace old "upside_down" nodes with new param2 versions. --- Disabled by default. - -if replace then - minetest.register_abm({ - label = "Slab replace", - nodenames = {"group:slabs_replace"}, - interval = 16, - chance = 1, - action = function(pos, node) - node.name = minetest.registered_nodes[node.name].replace_name - node.param2 = node.param2 + 20 - if node.param2 == 21 then - node.param2 = 23 - elseif node.param2 == 23 then - node.param2 = 21 - end - minetest.set_node(pos, node) - end, - }) -end - - -- Stair/slab registration function. -- Nodes will be called stairs:{stair,slab}_