small changes
This commit is contained in:
@@ -34,8 +34,6 @@ public class AuraApi {
|
|||||||
|
|
||||||
String authUrl = String.format("%s/auth?token=%s", URL, token);
|
String authUrl = String.format("%s/auth?token=%s", URL, token);
|
||||||
|
|
||||||
AuraClient.LOGGER.info("Authenticating with URL: " + authUrl);
|
|
||||||
|
|
||||||
URL url = URI.create(authUrl).toURL();
|
URL url = URI.create(authUrl).toURL();
|
||||||
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
|
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
|
||||||
conn.setRequestMethod("GET");
|
conn.setRequestMethod("GET");
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ import java.util.concurrent.ConcurrentHashMap;
|
|||||||
* Handles loading and caching of player capes.
|
* Handles loading and caching of player capes.
|
||||||
*/
|
*/
|
||||||
public class Cloaks {
|
public class Cloaks {
|
||||||
private static final String[] ANIMATED_CLOAKS = { "glitch", "forrest" };
|
private static final String[] ANIMATED_CLOAKS = { "glitch" };
|
||||||
|
|
||||||
private static final String CAPES_RESOURCE_PATH = "assets/auraclient/textures/capes/";
|
private static final String CAPES_RESOURCE_PATH = "assets/auraclient/textures/capes/";
|
||||||
public static final List<String> availableCloaks = new ArrayList<>();
|
public static final List<String> availableCloaks = new ArrayList<>();
|
||||||
|
|||||||
@@ -18,7 +18,6 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
|
|||||||
@Mixin(AbstractClientPlayerEntity.class)
|
@Mixin(AbstractClientPlayerEntity.class)
|
||||||
@Environment(EnvType.CLIENT)
|
@Environment(EnvType.CLIENT)
|
||||||
public class AbstractClientPlayerEntityMixin {
|
public class AbstractClientPlayerEntityMixin {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Injects custom cape textures into the player's skin textures.
|
* Injects custom cape textures into the player's skin textures.
|
||||||
*
|
*
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 164 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 455 KiB After Width: | Height: | Size: 450 KiB |
Reference in New Issue
Block a user