Skip to content

Commit

Permalink
Do not use var
Browse files Browse the repository at this point in the history
  • Loading branch information
Garanas committed Jun 2, 2024
1 parent 5495834 commit 778c666
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public Mod readModInfo(InputStream inputStream, Path mountBaseDir) {
mod.setIcon(extractIconPath(luaValue));

// not all mods have and/or need this value
var url = luaValue.get("url").toString();
String url = luaValue.get("url").toString();
if (!("nil".equals(url) || Strings.isNullOrEmpty(url))) {
mod.setUrl(url);
}
Expand Down

0 comments on commit 778c666

Please sign in to comment.