File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
src/main/java/net/minecraftforge/gradle Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -767,17 +767,17 @@ public DelayedFile load(String key)
767767 }
768768 });
769769
770- protected DelayedString delayedString (String path )
770+ public DelayedString delayedString (String path )
771771 {
772772 return stringCache .getUnchecked (path );
773773 }
774774
775- protected DelayedFile delayedFile (String path )
775+ public DelayedFile delayedFile (String path )
776776 {
777777 return fileCache .getUnchecked (path );
778778 }
779779
780- protected DelayedFileTree delayedTree (String path )
780+ public DelayedFileTree delayedTree (String path )
781781 {
782782 return new DelayedFileTree (project , replacerCache .getUnchecked (path ));
783783 }
Original file line number Diff line number Diff line change @@ -199,12 +199,12 @@ public void extraFiles(Object... o)
199199
200200 public void useSrgSrg ()
201201 {
202- reobf .setPrimarySrg (Constants .SRG_MCP_TO_SRG );
202+ reobf .setPrimarySrg (plugin . delayedFile ( Constants .SRG_MCP_TO_SRG ) );
203203 }
204204
205205 public void useNotchSrg ()
206206 {
207- reobf .setPrimarySrg (Constants .SRG_MCP_TO_NOTCH );
207+ reobf .setPrimarySrg (plugin . delayedFile ( Constants .SRG_MCP_TO_NOTCH ) );
208208 }
209209 }
210210}
You can’t perform that action at this time.
0 commit comments