Check if carrots and corns are enabled in farming_redo
This commit is contained in:
		
							
								
								
									
										2
									
								
								init.lua
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								init.lua
									
									
									
									
									
								
							| @@ -3,7 +3,7 @@ | ||||
| -- by sys4 | ||||
| -------------------------------------------------------------------------------- | ||||
|  | ||||
| local redo = farming.mod and farming.mod == "redo" | ||||
| local redo = farming.mod and farming.mod == "redo" and farming.carrot and farming.corn | ||||
| local plus = minetest.get_modpath("farming_plus") | ||||
| local diet_mod = minetest.get_modpath("diet") | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user