mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-25 22:07:59 +01:00
Fix optifine
This commit is contained in:
parent
e8021bc2fd
commit
f56cea3597
1 changed files with 2 additions and 0 deletions
|
@ -46,6 +46,8 @@ public final class HDSkinManager {
|
||||||
if (imageDownload != null) {
|
if (imageDownload != null) {
|
||||||
String imageUrl = PrivateFields.imageUrl.get(imageDownload);
|
String imageUrl = PrivateFields.imageUrl.get(imageDownload);
|
||||||
if (imageUrl != null) {
|
if (imageUrl != null) {
|
||||||
|
if (imageUrl.contains("optifine.net"))
|
||||||
|
return; // ignore optifine capes
|
||||||
String hash = FilenameUtils.getBaseName(imageUrl);
|
String hash = FilenameUtils.getBaseName(imageUrl);
|
||||||
String uuid = resolvePlayerIdFromHash(hash);
|
String uuid = resolvePlayerIdFromHash(hash);
|
||||||
if (uuid == null) {
|
if (uuid == null) {
|
||||||
|
|
Loading…
Reference in a new issue