diff options
| author | shedaniel <daniel@shedaniel.me> | 2020-01-11 00:34:07 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2020-01-11 00:34:07 +0800 |
| commit | a855c0284c3b285dd8a71b57ec35702995ae5b30 (patch) | |
| tree | 4b2876163d99301960a26ff821aff5c97e3fb02e /src/main/java/me/shedaniel/rei/api/RecipeHelper.java | |
| parent | bde33221f4e4732daafdc9ecd3a0e559c1f74ed2 (diff) | |
| download | RoughlyEnoughItems-a855c0284c3b285dd8a71b57ec35702995ae5b30.tar.gz RoughlyEnoughItems-a855c0284c3b285dd8a71b57ec35702995ae5b30.tar.bz2 RoughlyEnoughItems-a855c0284c3b285dd8a71b57ec35702995ae5b30.zip | |
3.3.7
Diffstat (limited to 'src/main/java/me/shedaniel/rei/api/RecipeHelper.java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/api/RecipeHelper.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/me/shedaniel/rei/api/RecipeHelper.java b/src/main/java/me/shedaniel/rei/api/RecipeHelper.java index 448f00d9e..9c50febba 100644 --- a/src/main/java/me/shedaniel/rei/api/RecipeHelper.java +++ b/src/main/java/me/shedaniel/rei/api/RecipeHelper.java @@ -178,7 +178,11 @@ public interface RecipeHelper { * @deprecated {@link RecipeHelper#isDisplayVisible(RecipeDisplay)} )} */ @Deprecated - boolean isDisplayVisible(RecipeDisplay display, boolean respectConfig); + default boolean isDisplayVisible(RecipeDisplay display, boolean respectConfig) { + return isDisplayVisible(display); + } + + boolean isDisplayNotVisible(RecipeDisplay display); /** * Checks if the display is visible by asking recipe visibility handlers |
