Skip to content

Commit 49ffec9

Browse files
committed
Fallback getResource to fallbackClassLoader
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
1 parent 48709d4 commit 49ffec9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/cpw/mods/cl/ModuleClassLoader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public URL getResource(final String name) {
170170
if (!reslist.isEmpty()) {
171171
return reslist.get(0);
172172
} else {
173-
return null;
173+
return fallbackClassLoader.getResource(name);
174174
}
175175
} catch (IOException e) {
176176
return null;

0 commit comments

Comments
 (0)