diff --git a/CHANGELOG.md b/CHANGELOG.md index 24f6d31..28168e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 \ No newline at end of file +- Improve exception handling when failing to retrieve player skin \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 1e4e834..f0f6cd9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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 diff --git a/src/main/java/pl/telvarost/mojangfixstationapi/client/skinfix/SkinService.java b/src/main/java/pl/telvarost/mojangfixstationapi/client/skinfix/SkinService.java index 401fef7..9ed78c9 100644 --- a/src/main/java/pl/telvarost/mojangfixstationapi/client/skinfix/SkinService.java +++ b/src/main/java/pl/telvarost/mojangfixstationapi/client/skinfix/SkinService.java @@ -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; }