Fix arrows with humans.

This commit is contained in:
Matthew Messinger 2016-05-29 23:59:43 -04:00
parent cc862108a6
commit 40d8ba6704
3 changed files with 12 additions and 10 deletions

View file

@ -21,14 +21,14 @@ buildscript {
}
}
ext.revision = 218
ext.revision = 219
apply plugin: 'net.minecraftforge.gradle.liteloader'
apply plugin: 'org.spongepowered.mixin'
apply plugin: 'mnm.gradle.ap-ide'
group = 'com.brohoof.minelp'
version = '1.9.4.0'
version = '1.9.4.1'
description = 'Mine Little Pony'
minecraft {
@ -79,14 +79,16 @@ processResources {
exclude 'litemod.json'
}
}
afterEvaluate {
dependencies {
factory 'org.spongepowered:mixin:0.5.5-SNAPSHOT'
def liteloader = project.plugins['net.minecraftforge.gradle.liteloader']
def artifact = liteloader.artifact.libraries.collect{it.name}.find{it.contains 'mixin'}
factory artifact
}
processor {
options.reobfSrgFile = project.tasks.genSrgs.mcpToSrg.path
options.reobfSrgFile = mixin.reobfSrgFile
}
}
jar {
from sourceSets.findAll { it.name != 'api' }*.output
}

View file

@ -50,7 +50,6 @@ public abstract class AbstractPonyModel extends ModelPlayer {
}
public final void init(float yOffset, float stretch) {
this.boxList.clear();
this.initTextures();
this.initPositions(yOffset, stretch);
for (IPonyPart part : modelParts) {

View file

@ -627,6 +627,7 @@ public class ModelPlayerPony extends AbstractPonyModel implements PonyModelConst
@Override
protected void initTextures() {
this.boxList.clear();
this.Tail = new PlaneRenderer[21];
this.Bodypiece = new PlaneRenderer[14];