Fix cloaks conflicting with join server endpoint
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
be7f81421a
commit
52b3a54e4b
@ -100,6 +100,9 @@ final class SkinFix {
|
|||||||
private static String findCapeOwner(URL address) {
|
private static String findCapeOwner(URL address) {
|
||||||
switch (address.getHost()) {
|
switch (address.getHost()) {
|
||||||
case "www.minecraft.net":
|
case "www.minecraft.net":
|
||||||
|
if (!address.getPath().equals("/cloak/get.jsp"))
|
||||||
|
return null;
|
||||||
|
|
||||||
return stripIfPrefixed(address.getQuery(), "user=");
|
return stripIfPrefixed(address.getQuery(), "user=");
|
||||||
|
|
||||||
case "s3.amazonaws.com":
|
case "s3.amazonaws.com":
|
||||||
|
Loading…
Reference in New Issue
Block a user