mirror of
https://github.com/Suiranoil/SkinRestorer.git
synced 2026-01-16 04:42:12 +00:00
log caught exception when setting skin
This commit is contained in:
@@ -111,7 +111,10 @@ public class SkinRestorer {
|
||||
return Pair.of(acceptedPlayers, acceptedProfiles);
|
||||
}, server)
|
||||
.orTimeout(10, TimeUnit.SECONDS)
|
||||
.exceptionally(e -> Pair.of(Collections.emptySet(), Collections.emptySet()));
|
||||
.exceptionally(e -> {
|
||||
SkinRestorer.LOGGER.error(String.valueOf(e));
|
||||
return Pair.of(Collections.emptySet(), Collections.emptySet());
|
||||
});
|
||||
}
|
||||
|
||||
public static void applyRestoredSkin(GameProfile profile, Property skin) {
|
||||
|
||||
Reference in New Issue
Block a user