diff options
| author | shedaniel <daniel@shedaniel.me> | 2020-03-19 04:30:52 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2020-03-19 04:30:52 +0800 |
| commit | 1f6fc41eaebc3c565bef12606ff98a076fc32e89 (patch) | |
| tree | 33a5c1cd135f6c5ecd8b85fd602bd8c290cf9fb7 /src/main/java/me/shedaniel/rei/gui/widget/RecipeArrowWidget.java | |
| parent | 1764648e4f536b2e6ac1b7d1cb3c3fb60e206b29 (diff) | |
| download | RoughlyEnoughItems-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/RecipeArrowWidget.java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/gui/widget/RecipeArrowWidget.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/me/shedaniel/rei/gui/widget/RecipeArrowWidget.java b/src/main/java/me/shedaniel/rei/gui/widget/RecipeArrowWidget.java index 057eba64b..e7c7cc0eb 100644 --- a/src/main/java/me/shedaniel/rei/gui/widget/RecipeArrowWidget.java +++ b/src/main/java/me/shedaniel/rei/gui/widget/RecipeArrowWidget.java @@ -71,10 +71,10 @@ public class RecipeArrowWidget extends WidgetWithBounds { @Override public void render(int mouseX, int mouseY, float delta) { MinecraftClient.getInstance().getTextureManager().bindTexture(DefaultPlugin.getDisplayTexture()); - blit(x, y, 106, 91, 24, 17); + drawTexture(x, y, 106, 91, 24, 17); if (animated) { int width = MathHelper.ceil((System.currentTimeMillis() / (time / 24) % 24d) / 1f); - blit(x, y, 82, 91, width, 17); + drawTexture(x, y, 82, 91, width, 17); } } |
