Alias string to cotton

Cotton plants used to drop strings, now they drop farming:cotton. Some mods (namely, throwing) still use farming:string, therefore we need farming:string to be equal farming:cotton.
This commit is contained in:
cupofinsane 2014-07-10 00:40:18 +06:00 committed by BlockMen
parent c521cb06bf
commit 5175897cdc

@ -50,10 +50,7 @@ farming.register_plant("farming:cotton", {
fertility = {"grassland", "desert"} fertility = {"grassland", "desert"}
}) })
minetest.register_craftitem("farming:string", { minetest.register_alias("farming:string", "farming:cotton")
description = "String",
inventory_image = "farming_cotton.png",
})
minetest.register_craft({ minetest.register_craft({
output = "wool:white", output = "wool:white",