aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/gui/widget/EntryWidget.java
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2020-03-19 04:30:52 +0800
committershedaniel <daniel@shedaniel.me>2020-03-19 04:30:52 +0800
commit1f6fc41eaebc3c565bef12606ff98a076fc32e89 (patch)
tree33a5c1cd135f6c5ecd8b85fd602bd8c290cf9fb7 /src/main/java/me/shedaniel/rei/gui/widget/EntryWidget.java
parent1764648e4f536b2e6ac1b7d1cb3c3fb60e206b29 (diff)
downloadRoughlyEnoughItems-1f6fc41eaebc3c565bef12606ff98a076fc32e89.tar.gz
RoughlyEnoughItems-1f6fc41eaebc3c565bef12606ff98a076fc32e89.tar.bz2
RoughlyEnoughItems-1f6fc41eaebc3c565bef12606ff98a076fc32e89.zip
20w12a
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'src/main/java/me/shedaniel/rei/gui/widget/EntryWidget.java')
-rw-r--r--src/main/java/me/shedaniel/rei/gui/widget/EntryWidget.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/me/shedaniel/rei/gui/widget/EntryWidget.java b/src/main/java/me/shedaniel/rei/gui/widget/EntryWidget.java
index 637a188cc..d6f3f7cb9 100644
--- a/src/main/java/me/shedaniel/rei/gui/widget/EntryWidget.java
+++ b/src/main/java/me/shedaniel/rei/gui/widget/EntryWidget.java
@@ -295,7 +295,7 @@ public class EntryWidget extends Slot {
protected void drawBackground(int mouseX, int mouseY, float delta) {
if (background) {
minecraft.getTextureManager().bindTexture(REIHelper.getInstance().isDarkThemeEnabled() ? RECIPE_GUI_DARK : RECIPE_GUI);
- blit(bounds.x, bounds.y, 0, 222, bounds.width, bounds.height);
+ drawTexture(bounds.x, bounds.y, 0, 222, bounds.width, bounds.height);
}
}