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: 'net.minecraftforge.gradle.liteloader'
apply plugin: 'org.spongepowered.mixin' apply plugin: 'org.spongepowered.mixin'
apply plugin: 'mnm.gradle.ap-ide' apply plugin: 'mnm.gradle.ap-ide'
group = 'com.brohoof.minelp' group = 'com.brohoof.minelp'
version = '1.9.4.0' version = '1.9.4.1'
description = 'Mine Little Pony' description = 'Mine Little Pony'
minecraft { minecraft {
@ -79,14 +79,16 @@ processResources {
exclude 'litemod.json' exclude 'litemod.json'
} }
} }
afterEvaluate {
dependencies { 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 { processor {
options.reobfSrgFile = project.tasks.genSrgs.mcpToSrg.path options.reobfSrgFile = mixin.reobfSrgFile
}
} }
jar { jar {
from sourceSets.findAll { it.name != 'api' }*.output 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) { public final void init(float yOffset, float stretch) {
this.boxList.clear();
this.initTextures(); this.initTextures();
this.initPositions(yOffset, stretch); this.initPositions(yOffset, stretch);
for (IPonyPart part : modelParts) { for (IPonyPart part : modelParts) {

View file

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