diff --git a/src/main/java/com/minelittlepony/render/ponies/RenderPonyIllager.java b/src/main/java/com/minelittlepony/render/ponies/RenderPonyIllager.java index bcd822f3..4441817e 100644 --- a/src/main/java/com/minelittlepony/render/ponies/RenderPonyIllager.java +++ b/src/main/java/com/minelittlepony/render/ponies/RenderPonyIllager.java @@ -3,6 +3,8 @@ package com.minelittlepony.render.ponies; import com.minelittlepony.model.PMAPI; import com.minelittlepony.render.RenderPonyMob; import com.minelittlepony.render.layer.LayerHeldItemIllager; +import com.minelittlepony.render.layer.LayerHeldPonyItem; + import net.minecraft.client.renderer.GlStateManager; import net.minecraft.client.renderer.entity.RenderManager; import net.minecraft.entity.monster.AbstractIllager; @@ -24,8 +26,8 @@ public abstract class RenderPonyIllager extends Rende } @Override - protected void addLayers() { - addLayer(new LayerHeldItemIllager<>(this)); + protected LayerHeldPonyItem createItemHoldingLayer() { + return new LayerHeldItemIllager<>(this); } @Override