forked from luanti-org/minetest_game
		
	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:
		@@ -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",
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user