Fix typo in stray resourcelocation path. (testures)

Also add metadata to setModelAttributes
This commit is contained in:
Matthew Messinger 2016-11-11 22:42:46 -05:00
parent de518e7830
commit 43d1edd030
2 changed files with 2 additions and 1 deletions

View file

@ -59,7 +59,7 @@ public class PonyManager implements IResourceManagerReloadListener {
public static final Map<SkeletonType, ResourceLocation> SKELETONS = Maps.immutableEnumMap(ImmutableMap.<SkeletonType, ResourceLocation> builder() public static final Map<SkeletonType, ResourceLocation> SKELETONS = Maps.immutableEnumMap(ImmutableMap.<SkeletonType, ResourceLocation> builder()
.put(SkeletonType.NORMAL, SKELETON) .put(SkeletonType.NORMAL, SKELETON)
.put(SkeletonType.WITHER, new ResourceLocation(NAMESPACE, "textures/entity/skeleton/skeleton_wither_pony.png")) .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()); .build());
public static final ResourceLocation STEVE = new ResourceLocation(NAMESPACE, "textures/entity/steve_pony.png"); 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"); public static final ResourceLocation ALEX = new ResourceLocation(NAMESPACE, "textures/entity/alex_pony.png");

View file

@ -345,6 +345,7 @@ public abstract class AbstractPonyModel extends ModelPlayer {
AbstractPonyModel pony = (AbstractPonyModel) model; AbstractPonyModel pony = (AbstractPonyModel) model;
this.isFlying = pony.isFlying; this.isFlying = pony.isFlying;
this.isSleeping = pony.isSleeping; this.isSleeping = pony.isSleeping;
this.metadata = pony.metadata;
} }
} }