mirror of
				https://github.com/minetest-mods/moreores.git
				synced 2025-10-31 22:05:24 +01:00 
			
		
		
		
	Apply suggestions from code review
This commit is contained in:
		
							
								
								
									
										4
									
								
								init.lua
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								init.lua
									
									
									
									
									
								
							| @@ -45,8 +45,8 @@ end | ||||
| -- Returns the crafting recipe table for a given material and item. | ||||
| local function get_recipe(material, item) | ||||
| 	if is_mcl_core_present then | ||||
|         material = material:gsub("default:", "mcl_core:") | ||||
|     end | ||||
| 		material = material:gsub("default:", "mcl_core:") | ||||
| 	end | ||||
|  | ||||
| 	if item == "sword" then | ||||
| 		return { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user