Correct farming/stairs dependency (#1838)
authorEzhh <owlecho@live.com>
Sat, 22 Jul 2017 14:11:40 +0000 (15:11 +0100)
committerSmallJoker <SmallJoker@users.noreply.github.com>
Sat, 22 Jul 2017 14:11:40 +0000 (16:11 +0200)
mods/farming/depends.txt
mods/farming/nodes.lua
mods/stairs/depends.txt
mods/stairs/init.lua

index 470ec30b9bd5379cd6d90edc29d7e36b8b17d2cb..301d9719929bafbb3ee6063ba89a77a9437f59ea 100644 (file)
@@ -1,2 +1,3 @@
 default
 wool
+stairs
index c969d31be04a72e860bacb620908eb43ad172736..1e746ecd43bc23db136da2876bdddab43d38b2f3 100644 (file)
@@ -98,6 +98,16 @@ minetest.register_node("farming:straw", {
        sounds = default.node_sound_leaves_defaults(),
 })
 
+stairs.register_stair_and_slab(
+       "straw",
+       "farming:straw",
+       {snappy = 3, flammable = 4},
+       {"farming_straw.png"},
+       "Straw Stair",
+       "Straw Slab",
+       default.node_sound_leaves_defaults()
+)
+
 minetest.register_abm({
        label = "Farming soil",
        nodenames = {"group:field"},
index d77ba253124050e2b6e1baea793e53dda4858bd5..4ad96d51599fb734101f6229f6c1a8a509bd6255 100644 (file)
@@ -1,2 +1 @@
 default
-farming
index 782b24a9f10842ae52ded20e907844750a8a9ede..6d1a6e0d5045518de8f3eb5553ba8824fdfab6e0 100644 (file)
@@ -712,16 +712,6 @@ stairs.register_stair_and_slab(
        default.node_sound_stone_defaults()
 )
 
-stairs.register_stair_and_slab(
-       "straw",
-       "farming:straw",
-       {snappy = 3, flammable = 4},
-       {"farming_straw.png"},
-       "Straw Stair",
-       "Straw Slab",
-       default.node_sound_leaves_defaults()
-)
-
 stairs.register_stair_and_slab(
        "steelblock",
        "default:steelblock",