Update ClientProxy.java

This commit is contained in:
Magnar Polden 2021-12-21 01:07:29 +01:00
parent 69b4d533f8
commit 638bd5d200

View file

@ -602,9 +602,10 @@ public class ClientProxy extends CommonProxy
public void Cape() public void Cape()
{ {
if(!isThorfusionLoaded) { if(!isThorfusionLoaded) {
//proxy, tilentity try {
if (FMLCommonHandler.instance().getEffectiveSide() == Side.CLIENT) {
DevCapes.getInstance().registerConfig("http://eu-central-1.linodeobjects.com/files.thorfusion.xyz/capes/scape.json"); DevCapes.getInstance().registerConfig("http://eu-central-1.linodeobjects.com/files.thorfusion.xyz/capes/scape.json");
} catch (Exception e) {
System.out.print("Cant load capes\n"+e);
} }
} }
} }