From ce68e3168c36624a141a7d7ac10c9b1315bb2f74 Mon Sep 17 00:00:00 2001 From: PeytonPlayz595 <106421860+PeytonPlayz595@users.noreply.github.com> Date: Fri, 9 Feb 2024 16:56:12 -0500 Subject: [PATCH] -_- --- src/main/java/net/minecraft/src/RenderEngine.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/src/RenderEngine.java b/src/main/java/net/minecraft/src/RenderEngine.java index a23a08e..93f13e4 100644 --- a/src/main/java/net/minecraft/src/RenderEngine.java +++ b/src/main/java/net/minecraft/src/RenderEngine.java @@ -35,7 +35,8 @@ public class RenderEngine { int i = singleIntBuffer.get(0); if (s.startsWith("%%")) { clampTexture = true; - setupTexture(readTextureImage(GL11.loadResourceBytes(s.substring(7))), i); + String[] s1 = s.split("%%"); + setupTexture(readTextureImage(GL11.loadResourceBytes(s1[1])), i); clampTexture = false; } else { useMipmaps = true;