TF-EssentialsX/Essentials/src/com/earth2me
Ali Moghnieh 3831464665
Fix /condense functionality after 1.12. (#1298)
Prior to this commit `/condense` would return the first best item to condense an ItemStack into, with no consideration of better forms of condensation.

This commit adds a local variable `bestRecipes` which stores all the valid recipes and sorts through them for the best, then picks out the best. The best recipe is defined by a compare(o2, o1) where o1 and o2 are integers of the SimpleRecipe's input ItemStack amount.
2017-06-22 22:21:42 +01:00
..
essentials Fix /condense functionality after 1.12. (#1298) 2017-06-22 22:21:42 +01:00