diff options
| author | shedaniel <daniel@shedaniel.me> | 2020-10-26 10:49:27 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2020-10-29 14:02:27 +0800 |
| commit | 9ea4a22e9a194fd8fdc2fb03226ab38ee175a6cc (patch) | |
| tree | b4db2569bc4a90d7bb835ff451fe5e11e86e8968 /RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java | |
| parent | b7f8fc61dcaa6d202809651d46cf0946b63beef7 (diff) | |
| download | RoughlyEnoughItems-9ea4a22e9a194fd8fdc2fb03226ab38ee175a6cc.tar.gz RoughlyEnoughItems-9ea4a22e9a194fd8fdc2fb03226ab38ee175a6cc.tar.bz2 RoughlyEnoughItems-9ea4a22e9a194fd8fdc2fb03226ab38ee175a6cc.zip | |
Favorites Dragging
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java')
| -rw-r--r-- | RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java b/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java index 9aa2f7da2..8c949bf75 100644 --- a/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java +++ b/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java @@ -197,7 +197,6 @@ public class RecipeViewingScreen extends Screen implements RecipeScreen { return true; if (keyCode == 256 || this.minecraft.options.keyInventory.matches(keyCode, scanCode)) { Minecraft.getInstance().setScreen(REIHelper.getInstance().getPreviousContainerScreen()); - ScreenHelper.getLastOverlay().init(); return true; } if (keyCode == 259) { @@ -359,7 +358,6 @@ public class RecipeViewingScreen extends Screen implements RecipeScreen { } children.addAll(tabs); - children.add(ScreenHelper.getLastOverlay(true, false)); children.addAll(widgets); children.addAll(preWidgets); } @@ -428,8 +426,6 @@ public class RecipeViewingScreen extends Screen implements RecipeScreen { if (tab.isSelected()) tab.render(matrices, mouseX, mouseY, delta); } - ScreenHelper.getLastOverlay().render(matrices, mouseX, mouseY, delta); - ScreenHelper.getLastOverlay().lateRender(matrices, mouseX, mouseY, delta); { ModifierKeyCode export = ConfigObject.getInstance().getExportImageKeybind(); if (export.matchesCurrentKey() || export.matchesCurrentMouse()) { |
