Skip to content

Commit

Permalink
Improve exception handling when failing to retrieve player skin
Browse files Browse the repository at this point in the history
  • Loading branch information
telvarost committed Jun 21, 2024
1 parent c74e978 commit 455830e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
- Update to StationAPI alpha.2 and add language support
- Fix bit-depth fix not working properly
- Add support for using the command keybinding in single-player if SPC is loaded
- Improve exception handling when failing to retrieve player skin
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ yarn_mappings=b1.7.3+build.8
loader_version=0.14.24-babric.1

# Mod Properties
mod_version = 2.0.0
mod_version = 2.0.1
maven_group = pl.telvarost
archives_base_name = mojangfixstationapi

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public void init(String name) {

try {
profile = provider.get(name).get();
} catch (InterruptedException | ExecutionException e) {
} catch (Exception e) {
MojangFixStationApiMod.getLogger().warn("Lookup using {} for profile {} failed!", provider.getClass().getSimpleName(), name);
continue;
}
Expand Down

0 comments on commit 455830e

Please sign in to comment.