Prevent wings from being considered for arrows.

This commit is contained in:
Matthew Messinger 2016-05-20 04:59:24 -04:00
parent 8fe82a826f
commit 379388bb3f

View file

@ -31,17 +31,21 @@ public class PegasusWings implements IPonyPart, PonyModelConstants {
for (int i = 0; i < leftWing.length; i++) { for (int i = 0; i < leftWing.length; i++) {
this.leftWing[i] = new ModelRenderer(pony, 56, 32); this.leftWing[i] = new ModelRenderer(pony, 56, 32);
this.pony.boxList.remove(this.leftWing[i]);
} }
for (int i = 0; i < rightWing.length; i++) { for (int i = 0; i < rightWing.length; i++) {
this.rightWing[i] = new ModelRenderer(pony, 56, 16); this.rightWing[i] = new ModelRenderer(pony, 56, 16);
this.pony.boxList.remove(this.rightWing[i]);
} }
for (int i = 0; i < leftWingExt.length; i++) { for (int i = 0; i < leftWingExt.length; i++) {
this.leftWingExt[i] = new ModelRenderer(pony, 56, 35); this.leftWingExt[i] = new ModelRenderer(pony, 56, 35);
this.pony.boxList.remove(this.leftWingExt[i]);
} }
for (int i = 0; i < rightWingExt.length; i++) { for (int i = 0; i < rightWingExt.length; i++) {
this.rightWingExt[i] = new ModelRenderer(pony, 56, 19); this.rightWingExt[i] = new ModelRenderer(pony, 56, 19);
// this seems to hide the wings being a different size when folded // this seems to hide the wings being a different size when folded
this.rightWingExt[i].mirror = true; this.rightWingExt[i].mirror = true;
this.pony.boxList.remove(this.rightWingExt[i]);
} }
initPositions(yOffset, stretch); initPositions(yOffset, stretch);