ForgePatch/patches/minecraft/net/minecraft/client/shader/ShaderGroup.java.patch

13 lines
738 B
Diff

--- a/net/minecraft/client/shader/ShaderGroup.java
+++ b/net/minecraft/client/shader/ShaderGroup.java
@@ -142,7 +142,8 @@
String s3 = JsonUtils.func_151200_h(jsonobject1, "id");
Framebuffer framebuffer2 = this.func_148017_a(s3);
if (framebuffer2 == null) {
- ResourceLocation resourcelocation = new ResourceLocation("textures/effect/" + s3 + ".png");
+ ResourceLocation rl = ResourceLocation.func_208304_a(s3);
+ ResourceLocation resourcelocation = new ResourceLocation(rl.func_110624_b(), "textures/effect/" + rl.func_110623_a() + ".png");
IResource iresource = null;
try {