aboutsummaryrefslogtreecommitdiff
path: root/runtime/src
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2022-06-16 20:43:35 +0800
committershedaniel <daniel@shedaniel.me>2022-06-16 20:43:35 +0800
commit0a217855a4fc3535337fbd98fe338ccb2db8ecc1 (patch)
tree01a41a06281b457562561ef9fe1f0a1dcf8c5abf /runtime/src
parent33deaaeeeca92fdb186c74a79675a55aa067fa8b (diff)
downloadRoughlyEnoughItems-0a217855a4fc3535337fbd98fe338ccb2db8ecc1.tar.gz
RoughlyEnoughItems-0a217855a4fc3535337fbd98fe338ccb2db8ecc1.tar.bz2
RoughlyEnoughItems-0a217855a4fc3535337fbd98fe338ccb2db8ecc1.zip
Fix #897
Diffstat (limited to 'runtime/src')
-rw-r--r--runtime/src/main/java/me/shedaniel/rei/impl/client/ErrorDisplayer.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/src/main/java/me/shedaniel/rei/impl/client/ErrorDisplayer.java b/runtime/src/main/java/me/shedaniel/rei/impl/client/ErrorDisplayer.java
index 969197a68..2992fbce7 100644
--- a/runtime/src/main/java/me/shedaniel/rei/impl/client/ErrorDisplayer.java
+++ b/runtime/src/main/java/me/shedaniel/rei/impl/client/ErrorDisplayer.java
@@ -40,6 +40,7 @@ public class ErrorDisplayer {
if (RoughlyEnoughItemsState.getErrors().isEmpty()) {
RoughlyEnoughItemsState.clear();
RoughlyEnoughItemsState.continues();
+ Minecraft.getInstance().setScreen(null);
Minecraft.getInstance().setScreen(parent);
} else {
Minecraft.getInstance().stop();