From b4d6f128ebf7fd2691a8b05ad327a0199b07b53e Mon Sep 17 00:00:00 2001 From: Pixaurora Date: Sat, 14 Dec 2024 15:43:54 -0500 Subject: [PATCH] Fix regular texture rendering in 1.20.4 Signed-off-by: Rina Mary Shaw --- .../pixaurora/kitten_square/impl/ui/display/GuiDisplayImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/kitten-square/r1.20.3/src/main/java/net/pixaurora/kitten_square/impl/ui/display/GuiDisplayImpl.java b/projects/kitten-square/r1.20.3/src/main/java/net/pixaurora/kitten_square/impl/ui/display/GuiDisplayImpl.java index 95a57c9..f337840 100644 --- a/projects/kitten-square/r1.20.3/src/main/java/net/pixaurora/kitten_square/impl/ui/display/GuiDisplayImpl.java +++ b/projects/kitten-square/r1.20.3/src/main/java/net/pixaurora/kitten_square/impl/ui/display/GuiDisplayImpl.java @@ -26,7 +26,7 @@ public GuiDisplayImpl(GuiGraphics graphics, ConversionCacheImpl conversions) { @Override public void drawTexture(ResourcePath path, int width, int height, int x, int y) { - this.drawGuiTextureSubsection(path, width, height, x, y, width, height, 0, 0); + this.graphics.blit(conversions.convert(path), x, y, 0, 0.0F, 0.0F, width, height, width, height); } @Override