From: cupofinsane Date: Wed, 9 Jul 2014 18:40:18 +0000 (+0600) Subject: Alias string to cotton X-Git-Tag: 0.4.11~69 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5175897cdc7bfe1ce0caa6f4a7c01909cb2c8767;p=oweals%2Fminetest_game.git 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. --- diff --git a/mods/farming/init.lua b/mods/farming/init.lua index 4f65d5dd..9245470f 100644 --- a/mods/farming/init.lua +++ b/mods/farming/init.lua @@ -50,10 +50,7 @@ farming.register_plant("farming:cotton", { fertility = {"grassland", "desert"} }) -minetest.register_craftitem("farming:string", { - description = "String", - inventory_image = "farming_cotton.png", -}) +minetest.register_alias("farming:string", "farming:cotton") minetest.register_craft({ output = "wool:white",