From 43d1edd0304dde886af6564953eb93d33cbe1b8a Mon Sep 17 00:00:00 2001 From: Matthew Messinger Date: Fri, 11 Nov 2016 22:42:46 -0500 Subject: [PATCH] Fix typo in stray resourcelocation path. (testures) Also add metadata to setModelAttributes --- src/main/java/com/brohoof/minelittlepony/PonyManager.java | 2 +- .../com/brohoof/minelittlepony/model/AbstractPonyModel.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/brohoof/minelittlepony/PonyManager.java b/src/main/java/com/brohoof/minelittlepony/PonyManager.java index 7d8689c1..5bdf83fd 100644 --- a/src/main/java/com/brohoof/minelittlepony/PonyManager.java +++ b/src/main/java/com/brohoof/minelittlepony/PonyManager.java @@ -59,7 +59,7 @@ public class PonyManager implements IResourceManagerReloadListener { public static final Map SKELETONS = Maps.immutableEnumMap(ImmutableMap. builder() .put(SkeletonType.NORMAL, SKELETON) .put(SkeletonType.WITHER, new ResourceLocation(NAMESPACE, "textures/entity/skeleton/skeleton_wither_pony.png")) - .put(SkeletonType.STRAY, new ResourceLocation(NAMESPACE, "testures/entity/skeleton/stray_pony.png")) + .put(SkeletonType.STRAY, new ResourceLocation(NAMESPACE, "textures/entity/skeleton/stray_pony.png")) .build()); public static final ResourceLocation STEVE = new ResourceLocation(NAMESPACE, "textures/entity/steve_pony.png"); public static final ResourceLocation ALEX = new ResourceLocation(NAMESPACE, "textures/entity/alex_pony.png"); diff --git a/src/main/java/com/brohoof/minelittlepony/model/AbstractPonyModel.java b/src/main/java/com/brohoof/minelittlepony/model/AbstractPonyModel.java index 5b5aaaa8..5e457915 100644 --- a/src/main/java/com/brohoof/minelittlepony/model/AbstractPonyModel.java +++ b/src/main/java/com/brohoof/minelittlepony/model/AbstractPonyModel.java @@ -345,6 +345,7 @@ public abstract class AbstractPonyModel extends ModelPlayer { AbstractPonyModel pony = (AbstractPonyModel) model; this.isFlying = pony.isFlying; this.isSleeping = pony.isSleeping; + this.metadata = pony.metadata; } }