Fixed crash due to class loading order

This commit is contained in:
Sollace 2023-02-27 13:42:57 +00:00
parent 94592212c6
commit 8ed7965270
2 changed files with 1 additions and 3 deletions

View file

@ -15,8 +15,6 @@ import com.minelittlepony.client.model.armour.DefaultArmourTextureResolver;
* This is for modders who want to override the default implementation found in {@link DefaultArmourTextureResolver}.
*/
public interface IArmourTextureResolver {
IArmourTextureResolver DEFAULT = DefaultArmourTextureResolver.INSTANCE;
/**
* Gets the armour texture to be used for the given entity, armour piece, slot, and render layer.
*/

View file

@ -28,7 +28,7 @@ public class PonyArmourModel<T extends LivingEntity> extends AbstractPonyModel<T
}
public IArmourTextureResolver getArmourTextureResolver() {
return IArmourTextureResolver.DEFAULT;
return DefaultArmourTextureResolver.INSTANCE;
}
@Override