mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-25 13:57:59 +01:00
Fixed crash due to class loading order
This commit is contained in:
parent
94592212c6
commit
8ed7965270
2 changed files with 1 additions and 3 deletions
|
@ -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.
|
||||
*/
|
||||
|
|
|
@ -28,7 +28,7 @@ public class PonyArmourModel<T extends LivingEntity> extends AbstractPonyModel<T
|
|||
}
|
||||
|
||||
public IArmourTextureResolver getArmourTextureResolver() {
|
||||
return IArmourTextureResolver.DEFAULT;
|
||||
return DefaultArmourTextureResolver.INSTANCE;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue