package com.minelittlepony.model.armour;

import com.minelittlepony.model.capabilities.IModelWrapper;
import com.minelittlepony.pony.data.IPonyData;

public class PonyArmor implements IModelWrapper, IEquestrianArmor {

    public final ModelPonyArmor outerLayer;
    public final ModelPonyArmor innerLayer;

    public PonyArmor(ModelPonyArmor outer, ModelPonyArmor inner) {
        outerLayer = outer;
        innerLayer = inner;
    }

    @Override
    public void apply(IPonyData meta) {
        outerLayer.metadata = meta;
        innerLayer.metadata = meta;
    }

    @Override
    public void init() {
        outerLayer.init(0, 1);
        innerLayer.init(0, 0.55F);
    }

    @Override
    public ModelPonyArmor getArmorForLayer(ArmorLayer layer) {
        if (layer == ArmorLayer.INNER) {
            return innerLayer;
        }

        return outerLayer;
    }
}

@@ -631,16 +631,20 @@
 nit(0, 1
+.05F
 );%0A     
@@ -667,17 +667,16 @@
 it(0, 0.
-5
 5F);%0A   

Abort mission, abort mission! Expanded the wrong one.