diff --git a/Common/customskinloader/config/Config.java b/Common/customskinloader/config/Config.java index 1f22c52..f0f5ffb 100644 --- a/Common/customskinloader/config/Config.java +++ b/Common/customskinloader/config/Config.java @@ -35,6 +35,7 @@ public class Config { config.initLocalFolder(); CustomSkinLoader.logger.info("Enable:"+config.enable+ ", EnableSkull:"+config.enableSkull+ + ", EnableDynamicSkull:"+config.enableDynamicSkull+ ", EnableTranSkin:"+config.enableTransparentSkin+ ", CacheExpiry:"+config.cacheExpiry+ ", enableUpdateSkull:"+config.enableUpdateSkull+ diff --git a/Common/customskinloader/profile/DynamicSkullManager.java b/Common/customskinloader/profile/DynamicSkullManager.java index af8c4bf..2b67c2c 100644 --- a/Common/customskinloader/profile/DynamicSkullManager.java +++ b/Common/customskinloader/profile/DynamicSkullManager.java @@ -104,7 +104,7 @@ public class DynamicSkullManager { if(dynamicTextures.containsKey(profile)){ SkullTexture texture=dynamicTextures.get(profile); long time=System.currentTimeMillis()-texture.startTime; - int index=(int)Math.floor((time%texture.period)/texture.skins.size()); + int index=(int)Math.floor((time%texture.period)/texture.interval); Map map=Maps.newHashMap(); map.put(Type.SKIN, ModelManager0.getProfileTexture(texture.skins.get(index), null)); return map; @@ -117,7 +117,7 @@ public class DynamicSkullManager { loadingList.remove(profile); } }; - loadThread.setName(profile.toString()+"'s dynamic skull"); + loadThread.setName("Dynamic Skull "+profile.toString()); loadThread.start(); return new HashMap(); }