Skip to content

Commit b416317

Browse files
committed
Revert "Add file not found exception"
This reverts commit 03d470e.
1 parent acc0699 commit b416317

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/net/vulkanmod/render/shader/ShaderLoadUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public static JsonObject getJsonConfig(String path, String rendertype) {
9797
}
9898

9999
if (stream == null) {
100-
throw new FileNotFoundException("Config at %s not found".formatted(path));
100+
return null;
101101
}
102102

103103
JsonElement jsonElement = JsonParser.parseReader(new BufferedReader(new InputStreamReader(stream)));

0 commit comments

Comments
 (0)