mirror of
				https://github.com/luanti-org/minetest_game.git
				synced 2025-11-04 09:15:29 +01:00 
			
		
		
		
	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"}
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
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",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user