diff options
| author | Unknown <shekwancheung0528@gmail.com> | 2019-04-06 18:35:26 +0800 |
|---|---|---|
| committer | Unknown <shekwancheung0528@gmail.com> | 2019-04-06 18:35:26 +0800 |
| commit | 948c7cd99d049f46cf840a3cb42eaec9ab627524 (patch) | |
| tree | e2725c761082955f7c194f8b8cf3507edac6c720 /src/main/java/me/shedaniel/rei/client/RecipeHelperImpl.java | |
| parent | 127e6b24a8dbc11ec110076be724b022e456d080 (diff) | |
| download | RoughlyEnoughItems-948c7cd99d049f46cf840a3cb42eaec9ab627524.tar.gz RoughlyEnoughItems-948c7cd99d049f46cf840a3cb42eaec9ab627524.tar.bz2 RoughlyEnoughItems-948c7cd99d049f46cf840a3cb42eaec9ab627524.zip | |
Updated to 19w14b
Diffstat (limited to 'src/main/java/me/shedaniel/rei/client/RecipeHelperImpl.java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/client/RecipeHelperImpl.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/me/shedaniel/rei/client/RecipeHelperImpl.java b/src/main/java/me/shedaniel/rei/client/RecipeHelperImpl.java index 8e156d85a..161bdd5ae 100644 --- a/src/main/java/me/shedaniel/rei/client/RecipeHelperImpl.java +++ b/src/main/java/me/shedaniel/rei/client/RecipeHelperImpl.java @@ -181,7 +181,7 @@ public class RecipeHelperImpl implements RecipeHelper { this.speedCraftAreaSupplierMap.clear(); this.speedCraftFunctionalMap.clear(); this.displayVisibilityHandlers.clear(); - + long startTime = System.currentTimeMillis(); List<REIPlugin> plugins = new LinkedList<>(RoughlyEnoughItemsCore.getPlugins()); plugins.sort((first, second) -> { return second.getPriority() - first.getPriority(); @@ -217,8 +217,8 @@ public class RecipeHelperImpl implements RecipeHelper { return -1f; } }); - RoughlyEnoughItemsCore.LOGGER.info("[REI] Registered Categories: " + String.join(", ", categories.stream().map(RecipeCategory::getCategoryName).collect(Collectors.toList()))); - RoughlyEnoughItemsCore.LOGGER.info("[REI] Registered %d recipes.", recipeCount.get()); + long usedTime = System.currentTimeMillis() - startTime; + RoughlyEnoughItemsCore.LOGGER.info("[REI] Registered %d recipes, %d categories (%s) in %d ms.", recipeCount.get(), categories.size(), String.join(", ", categories.stream().map(RecipeCategory::getCategoryName).collect(Collectors.toList())), usedTime); } @Override |
