mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-26 06:18:00 +01:00
PonyData should abide by the pony level
This commit is contained in:
parent
84a78ce4b9
commit
5758c87c1a
1 changed files with 2 additions and 1 deletions
|
@ -14,6 +14,7 @@ import com.minelittlepony.api.pony.meta.Wearable;
|
||||||
import com.minelittlepony.client.MineLittlePony;
|
import com.minelittlepony.client.MineLittlePony;
|
||||||
import com.minelittlepony.client.util.render.NativeUtil;
|
import com.minelittlepony.client.util.render.NativeUtil;
|
||||||
import com.minelittlepony.common.util.animation.Interpolator;
|
import com.minelittlepony.common.util.animation.Interpolator;
|
||||||
|
import com.minelittlepony.settings.PonyConfig;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
@ -133,7 +134,7 @@ public class PonyData implements IPonyData {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean hasHorn() {
|
public boolean hasHorn() {
|
||||||
return getRace() != null && getRace().hasHorn();
|
return getRace() != null && PonyConfig.getEffectiveRace(getRace()).hasHorn();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue