ForgePatch/patches_old/minecraft/net/minecraft/client/shader/ShaderLoader.java.patch

13 lines
652 B
Diff

--- ../src-base/minecraft/net/minecraft/client/shader/ShaderLoader.java
+++ ../src-work/minecraft/net/minecraft/client/shader/ShaderLoader.java
@@ -60,7 +60,8 @@
if (shaderloader == null)
{
- ResourceLocation resourcelocation = new ResourceLocation("shaders/program/" + p_148057_2_ + p_148057_1_.func_148063_b());
+ String[] rl = ResourceLocation.func_177516_a(p_148057_2_);
+ ResourceLocation resourcelocation = new ResourceLocation(rl[0], "shaders/program/" + rl[1] + p_148057_1_.func_148063_b());
IResource iresource = p_148057_0_.func_110536_a(resourcelocation);
try