mirror of
https://github.com/barkeser2002/CatServer.git
synced 2026-09-25 11:25:55 +03:00
13 lines
667 B
Diff
13 lines
667 B
Diff
--- ../src-base/minecraft/net/minecraft/client/shader/ShaderGroup.java
|
|
+++ ../src-work/minecraft/net/minecraft/client/shader/ShaderGroup.java
|
|
@@ -179,7 +179,8 @@
|
|
|
|
if (framebuffer2 == null)
|
|
{
|
|
- ResourceLocation resourcelocation = new ResourceLocation("textures/effect/" + s3 + ".png");
|
|
+ String[] rl = ResourceLocation.splitObjectName(s3);
|
|
+ ResourceLocation resourcelocation = new ResourceLocation(rl[0], "textures/effect/" + rl[1] + ".png");
|
|
IResource iresource = null;
|
|
|
|
try
|