mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-02-13 16:24:23 +01:00
I should not have commited that :oops:
This commit is contained in:
parent
90cd8c4cea
commit
d144cea927
1 changed files with 4 additions and 4 deletions
|
@ -73,7 +73,7 @@ public class PonyManager implements IResourceManagerReloadListener, ISkinCacheCl
|
||||||
ResourceLocation skin = player.getLocationSkin();
|
ResourceLocation skin = player.getLocationSkin();
|
||||||
UUID uuid = player.getGameProfile().getId();
|
UUID uuid = player.getGameProfile().getId();
|
||||||
|
|
||||||
if (true || Pony.getBufferedImage(skin) == null) {
|
if (Pony.getBufferedImage(skin) == null) {
|
||||||
return getDefaultPony(uuid);
|
return getDefaultPony(uuid);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -84,7 +84,7 @@ public class PonyManager implements IResourceManagerReloadListener, ISkinCacheCl
|
||||||
ResourceLocation skin = playerInfo.getLocationSkin();
|
ResourceLocation skin = playerInfo.getLocationSkin();
|
||||||
UUID uuid = playerInfo.getGameProfile().getId();
|
UUID uuid = playerInfo.getGameProfile().getId();
|
||||||
|
|
||||||
if (true || Pony.getBufferedImage(skin) == null) {
|
if (Pony.getBufferedImage(skin) == null) {
|
||||||
return getDefaultPony(uuid);
|
return getDefaultPony(uuid);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -132,7 +132,7 @@ public class PonyManager implements IResourceManagerReloadListener, ISkinCacheCl
|
||||||
* @param uuid A UUID. Either a user or an entity.
|
* @param uuid A UUID. Either a user or an entity.
|
||||||
*/
|
*/
|
||||||
public IPony getBackgroundPony(UUID uuid) {
|
public IPony getBackgroundPony(UUID uuid) {
|
||||||
if (true || getNumberOfPonies() == 0 || isUser(uuid)) {
|
if (getNumberOfPonies() == 0 || isUser(uuid)) {
|
||||||
return getPony(getDefaultSkin(uuid));
|
return getPony(getDefaultSkin(uuid));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -224,7 +224,7 @@ public class PonyManager implements IResourceManagerReloadListener, ISkinCacheCl
|
||||||
* Returns true if the given uuid is of a player would would use the ALEX skin type.
|
* Returns true if the given uuid is of a player would would use the ALEX skin type.
|
||||||
*/
|
*/
|
||||||
public static boolean isSlimSkin(UUID uuid) {
|
public static boolean isSlimSkin(UUID uuid) {
|
||||||
return true || (uuid.hashCode() & 1) == 1;
|
return (uuid.hashCode() & 1) == 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
private int getNumberOfPonies() {
|
private int getNumberOfPonies() {
|
||||||
|
|
Loading…
Reference in a new issue