[READ-ONLY] Mirror of https://github.com/thoda-dev/DualUniverse. DualUniverse scripts
0

Configure Feed

Select the types of activity you want to include in your feed.

Update ingredients.lua

Thomas (Oct 27, 2020, 9:33 AM +0100) 5ddd2975 28a74cc1

+2 -2
+2 -2
DU Recipes/ingredients.lua
··· 6 6 7 7 -- return an ingredient fron it's name 8 8 function getIngredient(name) 9 - ingredient = Ingredients[name] 9 + local ingredient = Ingredients[cleanName(name)] 10 10 if not ingredient then 11 - system.print('Error [Ingredient not found]: '..name) 11 + --system.print('Error [Ingredient not found]: '..name) 12 12 ingredient = Ingredients['unknown'] 13 13 end 14 14 return ingredient