mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-02-13 16:24:23 +01:00
Fixed exception when creating the snout
This commit is contained in:
parent
6300e89638
commit
c4a8d7fa64
1 changed files with 2 additions and 1 deletions
|
@ -23,9 +23,10 @@ public class PonySnout implements IPart, MsonModel {
|
||||||
|
|
||||||
private ICapitated<ModelPart> head;
|
private ICapitated<ModelPart> head;
|
||||||
|
|
||||||
|
@SuppressWarnings("unchecked")
|
||||||
@Override
|
@Override
|
||||||
public void init(ModelContext context) {
|
public void init(ModelContext context) {
|
||||||
head = context.getContext();
|
head = (ICapitated<ModelPart>)context.getModel();
|
||||||
mare = context.findByName("mare");
|
mare = context.findByName("mare");
|
||||||
stallion = context.findByName("stallion");
|
stallion = context.findByName("stallion");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue