diff options
| author | Unknown <shekwancheung0528@gmail.com> | 2019-01-20 15:21:10 +0800 |
|---|---|---|
| committer | Unknown <shekwancheung0528@gmail.com> | 2019-01-20 15:21:10 +0800 |
| commit | 855f72d9f730ce54be6167259f33bf1785b140fb (patch) | |
| tree | 7a12beed35ee2466c75c85eab3b3edc90240f53a /src/main/java/me/shedaniel/rei/client/RecipeHelper.java | |
| parent | 277a10844312a2d8310875cfbd4205772a11445b (diff) | |
| download | RoughlyEnoughItems-2.0.0.11.tar.gz RoughlyEnoughItems-2.0.0.11.tar.bz2 RoughlyEnoughItems-2.0.0.11.zip | |
Fixes malilib crash *sighs*v2.0.0.11
Diffstat (limited to 'src/main/java/me/shedaniel/rei/client/RecipeHelper.java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/client/RecipeHelper.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/me/shedaniel/rei/client/RecipeHelper.java b/src/main/java/me/shedaniel/rei/client/RecipeHelper.java index f52c426df..da0c4aab4 100644 --- a/src/main/java/me/shedaniel/rei/client/RecipeHelper.java +++ b/src/main/java/me/shedaniel/rei/client/RecipeHelper.java @@ -152,12 +152,12 @@ public class RecipeHelper implements RecipeSync { this.categories.clear(); this.speedCraftAreaSupplierMap.clear(); this.speedCraftFunctionalMap.clear(); - List<IRecipePlugin> plugins = new LinkedList<>(RoughlyEnoughItemsCore.getPlugins()); + List<IRecipePlugin> plugins = new LinkedList<>(RoughlyEnoughItemsPlugin.getPlugins()); 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 -> { - ResourceLocation ResourceLocation = RoughlyEnoughItemsCore.getPluginResourceLocation(plugin); + ResourceLocation ResourceLocation = RoughlyEnoughItemsPlugin.getPluginResourceLocation(plugin); return ResourceLocation == null ? "NULL" : ResourceLocation.toString(); }).collect(Collectors.toList()))); Collections.reverse(plugins); |
