diff options
| author | Unknown <shekwancheung0528@gmail.com> | 2019-03-30 20:21:18 +0800 |
|---|---|---|
| committer | Unknown <shekwancheung0528@gmail.com> | 2019-03-30 20:21:18 +0800 |
| commit | 16e35bc7ddb5924008be5be1b60db29d461d72b5 (patch) | |
| tree | 6b4405a47f6a902f4900e72d140304e3524ee0b5 /src/main/java/me/shedaniel/rei/client/RecipeHelperImpl.java | |
| parent | d5b270a829f5488ba6ab72778745da1f64769ff8 (diff) | |
| download | RoughlyEnoughItems-16e35bc7ddb5924008be5be1b60db29d461d72b5.tar.gz RoughlyEnoughItems-16e35bc7ddb5924008be5be1b60db29d461d72b5.tar.bz2 RoughlyEnoughItems-16e35bc7ddb5924008be5be1b60db29d461d72b5.zip | |
Using Cloth events instead of overwriting methods
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 539897376..52f5721a8 100644 --- a/src/main/java/me/shedaniel/rei/client/RecipeHelperImpl.java +++ b/src/main/java/me/shedaniel/rei/client/RecipeHelperImpl.java @@ -167,7 +167,7 @@ public class RecipeHelperImpl implements RecipeHelper { plugins.sort((first, second) -> { return second.getPriority() - first.getPriority(); }); - RoughlyEnoughItemsCore.LOGGER.info("Loading %d REI plugins: %s", plugins.size(), String.join(", ", plugins.stream().map(plugin -> { + RoughlyEnoughItemsCore.LOGGER.info("[REI] Loading %d plugins: %s", plugins.size(), String.join(", ", plugins.stream().map(plugin -> { return RoughlyEnoughItemsCore.getPluginIdentifier(plugin).map(Identifier::toString).orElseGet(() -> "null"); }).collect(Collectors.toList()))); Collections.reverse(plugins); @@ -184,8 +184,8 @@ public class RecipeHelperImpl implements RecipeHelper { if (pluginDisabler.isFunctionEnabled(identifier, PluginFunction.REGISTER_SPEED_CRAFT)) plugin.registerSpeedCraft(this); }); - RoughlyEnoughItemsCore.LOGGER.info("Registered REI Categories: " + String.join(", ", categories.stream().map(RecipeCategory::getCategoryName).collect(Collectors.toList()))); - RoughlyEnoughItemsCore.LOGGER.info("Registered %d recipes for REI.", recipeCount.get()); + 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()); } @Override |
