Fix pony sizes. Oops

This commit is contained in:
Matthew Messinger 2016-04-06 23:49:28 -04:00
parent 1e9dba8dd9
commit 2a99758a57

View file

@ -9,6 +9,7 @@ import java.util.List;
import com.brohoof.minelittlepony.PonyData;
import com.brohoof.minelittlepony.PonySize;
import com.brohoof.minelittlepony.model.part.IPonyPart;
import com.brohoof.minelittlepony.model.pony.ModelHumanPlayer;
import com.brohoof.minelittlepony.model.pony.ModelPlayerPony;
import com.brohoof.minelittlepony.renderer.PlaneRenderer;
import com.google.common.collect.Lists;
@ -185,7 +186,7 @@ public abstract class AbstractPonyModel extends ModelPlayer {
}
public void transform(BodyPart part) {
if (this instanceof ModelPlayerPony)
if (this instanceof ModelHumanPlayer)
return;
if (this.isRiding) {
translate(0.0F, -0.6F, -0.2F);