mirror of
https://github.com/barkeser2002/CatServer.git
synced 2026-09-25 12:05:59 +03:00
13 lines
713 B
Diff
13 lines
713 B
Diff
--- ../src-base/minecraft/net/minecraft/client/shader/ShaderManager.java
|
|
+++ ../src-work/minecraft/net/minecraft/client/shader/ShaderManager.java
|
|
@@ -54,7 +54,8 @@
|
|
public ShaderManager(IResourceManager resourceManager, String programName) throws JsonException, IOException
|
|
{
|
|
JsonParser jsonparser = new JsonParser();
|
|
- ResourceLocation resourcelocation = new ResourceLocation("shaders/program/" + programName + ".json");
|
|
+ String[] rl = ResourceLocation.splitObjectName(programName);
|
|
+ ResourceLocation resourcelocation = new ResourceLocation(rl[0], "shaders/program/" + rl[1] + ".json");
|
|
this.programFilename = programName;
|
|
IResource iresource = null;
|
|
|