Skip to content

Commit

Permalink
make sure offline info for this player is cached
Browse files Browse the repository at this point in the history
  • Loading branch information
zlainsama committed Nov 21, 2015
1 parent a5e05d4 commit 85e6a78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ buildscript {

apply plugin: 'forge'

version = "1.7.10-v5a"
version = "1.7.10-v5b"
group= "lain.mods.skinport"
archivesBaseName = "SkinPort"

Expand Down
2 changes: 2 additions & 0 deletions src/main/java/lain/mods/skinport/api/SkinProviderAPI.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ public static List<ISkinProvider> getSecondaryProviders()

public static ISkin getSkin(AbstractClientPlayer player)
{
PlayerUtils.getPlayerID(player); // make sure offline info for this player is cached.

ISkin result = primarySkinCache.getUnchecked(player);
if (result.isSkinReady())
return result;
Expand Down

0 comments on commit 85e6a78

Please sign in to comment.