diff options
| author | Unknown <shekwancheung0528@gmail.com> | 2019-05-22 21:30:38 +0800 |
|---|---|---|
| committer | Unknown <shekwancheung0528@gmail.com> | 2019-05-22 21:30:38 +0800 |
| commit | 4ea8402014b3878bc94ae977cdace1ab7c497e5f (patch) | |
| tree | 94aaff3b96956b17768c82690d956523fac7125d /src/main/java/me/shedaniel/rei/plugin/DefaultShapedDisplay.java | |
| parent | f7128cb247d827057b8fa63b954976fabb169091 (diff) | |
| download | RoughlyEnoughItems-4ea8402014b3878bc94ae977cdace1ab7c497e5f.tar.gz RoughlyEnoughItems-4ea8402014b3878bc94ae977cdace1ab7c497e5f.tar.bz2 RoughlyEnoughItems-4ea8402014b3878bc94ae977cdace1ab7c497e5f.zip | |
2.9.1
Diffstat (limited to 'src/main/java/me/shedaniel/rei/plugin/DefaultShapedDisplay.java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/plugin/DefaultShapedDisplay.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/me/shedaniel/rei/plugin/DefaultShapedDisplay.java b/src/main/java/me/shedaniel/rei/plugin/DefaultShapedDisplay.java index b7a4d343a..29aae3126 100644 --- a/src/main/java/me/shedaniel/rei/plugin/DefaultShapedDisplay.java +++ b/src/main/java/me/shedaniel/rei/plugin/DefaultShapedDisplay.java @@ -5,11 +5,11 @@ package me.shedaniel.rei.plugin; -import com.google.common.collect.Lists; import net.minecraft.item.ItemStack; import net.minecraft.recipe.Recipe; import net.minecraft.recipe.ShapedRecipe; +import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Optional; @@ -23,7 +23,7 @@ public class DefaultShapedDisplay implements DefaultCraftingDisplay<ShapedRecipe public DefaultShapedDisplay(ShapedRecipe recipe) { this.display = recipe; - this.input = Lists.newArrayList(recipe.getPreviewInputs().stream().map(i -> Lists.newArrayList(i.getStackArray())).collect(Collectors.toList())); + this.input = recipe.getPreviewInputs().stream().map(i -> Arrays.asList(i.getStackArray())).collect(Collectors.toList()); this.output = Collections.singletonList(recipe.getOutput()); } |
