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;