Skip to content

Commit

Permalink
Fix NPE during data dump
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchej123 committed Apr 10, 2021
1 parent a28acf5 commit d6c4bec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ mc_version=1.7.10
forge_version=10.13.4.1614-1.7.10
ccl_version=1.1.3.138
ccc_version=1.0.7.+
mod_version=2.1.0-GTNH-beta11
mod_version=2.1.0-GTNH-beta12
2 changes: 1 addition & 1 deletion src/codechicken/nei/config/HandlerDumper.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public Iterable<String[]> dump(int mode) {
handlerName,
handlerId,
info != null ? info.getModName() : "Unknown",
info != null ? info.getItemStack().toString() : "Unknown"
info != null && info.getItemStack() != null ? info.getItemStack().toString() : "Unknown"
});
}
return list;
Expand Down

0 comments on commit d6c4bec

Please sign in to comment.