mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-28 23:17:59 +01:00
Fixed villagers not having distinct skins
This commit is contained in:
parent
efe58a1c99
commit
1fa850708d
1 changed files with 3 additions and 1 deletions
|
@ -21,7 +21,9 @@ public final class ResourceUtil {
|
|||
}
|
||||
|
||||
public static boolean textureExists(Identifier texture) {
|
||||
return MinecraftClient.getInstance().getTextureManager().getOrDefault(texture, null) != null;
|
||||
return
|
||||
MinecraftClient.getInstance().getTextureManager().getOrDefault(texture, null) != null
|
||||
|| MinecraftClient.getInstance().getResourceManager().getResource(texture).isPresent();
|
||||
}
|
||||
|
||||
public static Optional<Identifier> verifyTexture(Identifier texture) {
|
||||
|
|
Loading…
Reference in a new issue