mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-02-13 08:14: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;
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@Override
|
||||
public void init(ModelContext context) {
|
||||
head = context.getContext();
|
||||
head = (ICapitated<ModelPart>)context.getModel();
|
||||
mare = context.findByName("mare");
|
||||
stallion = context.findByName("stallion");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue