From 379388bb3f94c87450ca71b1cd8568cf096773fa Mon Sep 17 00:00:00 2001 From: Matthew Messinger Date: Fri, 20 May 2016 04:59:24 -0400 Subject: [PATCH] Prevent wings from being considered for arrows. --- .../com/brohoof/minelittlepony/model/part/PegasusWings.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/com/brohoof/minelittlepony/model/part/PegasusWings.java b/src/main/java/com/brohoof/minelittlepony/model/part/PegasusWings.java index c6db009e..c4d10f68 100644 --- a/src/main/java/com/brohoof/minelittlepony/model/part/PegasusWings.java +++ b/src/main/java/com/brohoof/minelittlepony/model/part/PegasusWings.java @@ -31,17 +31,21 @@ public class PegasusWings implements IPonyPart, PonyModelConstants { for (int i = 0; i < leftWing.length; i++) { this.leftWing[i] = new ModelRenderer(pony, 56, 32); + this.pony.boxList.remove(this.leftWing[i]); } for (int i = 0; i < rightWing.length; i++) { this.rightWing[i] = new ModelRenderer(pony, 56, 16); + this.pony.boxList.remove(this.rightWing[i]); } for (int i = 0; i < leftWingExt.length; i++) { this.leftWingExt[i] = new ModelRenderer(pony, 56, 35); + this.pony.boxList.remove(this.leftWingExt[i]); } for (int i = 0; i < rightWingExt.length; i++) { this.rightWingExt[i] = new ModelRenderer(pony, 56, 19); // this seems to hide the wings being a different size when folded this.rightWingExt[i].mirror = true; + this.pony.boxList.remove(this.rightWingExt[i]); } initPositions(yOffset, stretch);