Skip to content

Commit b08d0e8

Browse files
committed
oopsies
1 parent e13d814 commit b08d0e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types/mod_json.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ pub fn validate_mod_logo(file: &mut ZipFile, return_bytes: bool) -> Result<Vec<u
400400
img.resize(336, 336, image::imageops::FilterType::Lanczos3);
401401
}
402402

403-
if return_bytes {
403+
if !return_bytes {
404404
return Ok(vec![]);
405405
}
406406

0 commit comments

Comments
 (0)