Fixed items not being positioned correctly in seaponys' hooves. Closes #239

This commit is contained in:
Sollace 2023-07-09 21:12:15 +01:00
parent b6a6adbbf6
commit 3fd07b4874
No known key found for this signature in database
GPG key ID: E52FACE7B5C773DB
2 changed files with 1 additions and 6 deletions

View file

@ -5,7 +5,7 @@ public interface IUnicorn extends IModel {
* Returns true if this model is being applied to a race that can use magic.
*/
default boolean hasMagic() {
return getRace().hasHorn() && getMagicColor() != 0;
return hasHorn() && getMagicColor() != 0;
}
/**

View file

@ -111,11 +111,6 @@ public class SeaponyModel<T extends LivingEntity> extends UnicornModel<T> {
super.transform(part, stack);
}
@Override
public boolean hasMagic() {
return true;
}
@Override
public void setVisible(boolean visible) {
super.setVisible(visible);