From 753e5e5155b8e0a1f7ce6d95c8f2a0eef55c3477 Mon Sep 17 00:00:00 2001 From: Sollace Date: Mon, 27 Aug 2018 16:00:12 +0200 Subject: [PATCH] Batponies don't wear saddlebags. They're too cool for that. --- .../com/minelittlepony/model/player/ModelBatpony.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/main/java/com/minelittlepony/model/player/ModelBatpony.java b/src/main/java/com/minelittlepony/model/player/ModelBatpony.java index c8357750..55817df0 100644 --- a/src/main/java/com/minelittlepony/model/player/ModelBatpony.java +++ b/src/main/java/com/minelittlepony/model/player/ModelBatpony.java @@ -2,6 +2,7 @@ package com.minelittlepony.model.player; import com.minelittlepony.model.components.BatWings; import com.minelittlepony.model.components.PegasusWings; +import com.minelittlepony.pony.data.PonyWearable; import com.minelittlepony.render.PonyRenderer; import net.minecraft.entity.Entity; @@ -49,4 +50,13 @@ public class ModelBatpony extends ModelEarthPony implements IModelPegasus { .tex(0, 3).box( 3, -6.49F, 2.49F, 1, 1, 1, stretch) .tex(0, 5).box( 2, -5, 1.5F, 1, 1, 1, stretch); } + + @Override + public boolean isWearing(PonyWearable wearable) { + if (wearable == PonyWearable.SADDLE_BAGS) { + return false; + } + + return super.isWearing(wearable); + } }