aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/gui/ContainerScreenOverlay.java
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2020-07-15 22:27:07 +0800
committershedaniel <daniel@shedaniel.me>2020-07-15 22:27:07 +0800
commitcd57003454840efd74ef072072402ea3822ab2ba (patch)
tree481af32e3a330d48eba88e1fa4c4fa5a976f5377 /src/main/java/me/shedaniel/rei/gui/ContainerScreenOverlay.java
parent7d1e39007a1e7de6fd0381fa1e21cf9b6e927f97 (diff)
downloadRoughlyEnoughItems-cd57003454840efd74ef072072402ea3822ab2ba.tar.gz
RoughlyEnoughItems-cd57003454840efd74ef072072402ea3822ab2ba.tar.bz2
RoughlyEnoughItems-cd57003454840efd74ef072072402ea3822ab2ba.zip
Close #322
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'src/main/java/me/shedaniel/rei/gui/ContainerScreenOverlay.java')
-rw-r--r--src/main/java/me/shedaniel/rei/gui/ContainerScreenOverlay.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main/java/me/shedaniel/rei/gui/ContainerScreenOverlay.java b/src/main/java/me/shedaniel/rei/gui/ContainerScreenOverlay.java
index 8a3cd5a6f..7b4b9ead7 100644
--- a/src/main/java/me/shedaniel/rei/gui/ContainerScreenOverlay.java
+++ b/src/main/java/me/shedaniel/rei/gui/ContainerScreenOverlay.java
@@ -79,7 +79,7 @@ import java.util.LinkedList;
import java.util.List;
@ApiStatus.Internal
-public class ContainerScreenOverlay extends WidgetWithBounds {
+public class ContainerScreenOverlay extends WidgetWithBounds implements REIOverlay {
private static final Identifier CHEST_GUI_TEXTURE = new Identifier("roughlyenoughitems", "textures/gui/recipecontainer.png");
private static final List<Tooltip> TOOLTIPS = Lists.newArrayList();
@@ -172,6 +172,11 @@ public class ContainerScreenOverlay extends WidgetWithBounds {
this.wrappedGameModeMenu = null;
}
+ @Override
+ public void queueReloadOverlay() {
+ shouldReInit = true;
+ }
+
public void init(boolean useless) {
init();
}