From 9e55b44b710f38c63a4bfd17d0b07318d5c68535 Mon Sep 17 00:00:00 2001 From: Daniel She Date: Mon, 25 Feb 2019 21:18:26 +0800 Subject: REI v2.3.1 (#40) - API Changes - Updated Config Screen - Added Tipped Arrows Recipes - Updated Mappings - Added IRecipeHelper - Turning things to Optional - Removed Cheats button, now included with the new config button - Buttons for switching gamemodes / time / weather (default: off) [Maybe not in this update] - Clickable Labels - 3+ recipes at the same time - Fixed RecipeBaseWidget bad rendering when too big - Fixed #42 Patched up item deleting & cheating - Choose Page Dialog --- src/main/java/me/shedaniel/rei/plugin/DefaultBlastingDisplay.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/main/java/me/shedaniel/rei/plugin/DefaultBlastingDisplay.java') diff --git a/src/main/java/me/shedaniel/rei/plugin/DefaultBlastingDisplay.java b/src/main/java/me/shedaniel/rei/plugin/DefaultBlastingDisplay.java index 54e8708e3..669f53f16 100644 --- a/src/main/java/me/shedaniel/rei/plugin/DefaultBlastingDisplay.java +++ b/src/main/java/me/shedaniel/rei/plugin/DefaultBlastingDisplay.java @@ -10,6 +10,7 @@ import net.minecraft.util.Identifier; import java.util.Arrays; import java.util.List; +import java.util.Optional; import java.util.stream.Collectors; public class DefaultBlastingDisplay implements IRecipeDisplay { @@ -31,8 +32,8 @@ public class DefaultBlastingDisplay implements IRecipeDisplay { } @Override - public BlastingRecipe getRecipe() { - return display; + public Optional getRecipe() { + return Optional.ofNullable(display); } @Override -- cgit