mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
Update version/donator files
This commit is contained in:
1 parent
f9ec882bce
commit
f9a7a8df3f
3 files changed
+5
-27
No files matched your search
@@ -84,11 +84,9 @@ public class ClientTickHandler
|
||||
public static Minecraft mc = FMLClientHandler.instance().getClient();
|
||||
public static Random rand = new Random();
|
||||
|
||||
public static final String MIKE_CAPE = "https://dl.dropboxusercontent.com/s/ji06yflixnszcby/cape.png";
|
||||
public static final String DONATE_CAPE = "https://dl.dropboxusercontent.com/u/90411166/donate.png";
|
||||
public static final String AIDAN_CAPE = "https://dl.dropboxusercontent.com/u/90411166/aidan.png";
|
||||
public static final String DONATE_CAPE = "http://aidancbrady.com/data/capes/donate.png";
|
||||
public static final String AIDAN_CAPE = "http://aidancbrady.com/data/capes/aidan.png";
|
||||
|
||||
private Map<String, CapeBufferDownload> mikeDownload = new HashMap<>();
|
||||
private Map<String, CapeBufferDownload> donateDownload = new HashMap<>();
|
||||
private Map<String, CapeBufferDownload> aidanDownload = new HashMap<>();
|
||||
|
||||
@@ -156,27 +154,7 @@ public class ClientTickHandler
|
||||
{
|
||||
AbstractClientPlayer player = (AbstractClientPlayer)entityPlayer;
|
||||
|
||||
if(StringUtils.stripControlCodes(player.getName()).equals("mikeacttck"))
|
||||
{
|
||||
CapeBufferDownload download = mikeDownload.get(player.getName());
|
||||
|
||||
if(download == null)
|
||||
{
|
||||
download = new CapeBufferDownload(player.getName(), MIKE_CAPE);
|
||||
mikeDownload.put(player.getName(), download);
|
||||
|
||||
download.start();
|
||||
}
|
||||
else {
|
||||
if(!download.downloaded)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
setCape(player, download.getResourceLocation());
|
||||
}
|
||||
}
|
||||
else if(StringUtils.stripControlCodes(player.getName()).equals("aidancbrady"))
|
||||
if(StringUtils.stripControlCodes(player.getName()).equals("aidancbrady"))
|
||||
{
|
||||
CapeBufferDownload download = aidanDownload.get(player.getName());
|
||||
|
||||
|
||||
Reference in new issue
Block a user