aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java
diff options
context:
space:
mode:
authorDanielshe <shekwancheung0528@gmail.com>2019-10-10 20:42:31 +0800
committerDanielshe <shekwancheung0528@gmail.com>2019-10-10 20:42:31 +0800
commit675387b674b648f013d7fd95508845eedc0e4647 (patch)
tree196600eceebd667de41ca32fee42df5d611b3027 /src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java
parentbfbd294a9485f54248d7510aefcbcc4828c5ea2d (diff)
downloadRoughlyEnoughItems-675387b674b648f013d7fd95508845eedc0e4647.tar.gz
RoughlyEnoughItems-675387b674b648f013d7fd95508845eedc0e4647.tar.bz2
RoughlyEnoughItems-675387b674b648f013d7fd95508845eedc0e4647.zip
19w41a
Diffstat (limited to 'src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java')
-rw-r--r--src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java b/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java
index 11df019f3..335780890 100644
--- a/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java
+++ b/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java
@@ -55,7 +55,7 @@ public class RecipeViewingScreen extends Screen {
this.categoryPages = 0;
this.preWidgets = Lists.newArrayList();
this.widgets = Lists.newArrayList();
- Window window = MinecraftClient.getInstance().method_22683();
+ Window window = MinecraftClient.getInstance().getWindow();
this.bounds = new Rectangle(window.getScaledWidth() / 2 - guiWidth / 2, window.getScaledHeight() / 2 - guiHeight / 2, 176, 186);
this.categoriesMap = categoriesMap;
this.categories = Lists.newArrayList();