Skip to content

Commit

Permalink
Merge branch 'master' into changeling-master
Browse files Browse the repository at this point in the history
  • Loading branch information
asanetargoss committed Aug 31, 2019
2 parents 4b64ccb + 5727d0b commit 0a94099
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/java/mchorse/metamorph/api/morphs/EntityMorph.java
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,11 @@ public void setupEntity(World world)
{
EntityLivingBase created = (EntityLivingBase) EntityList.createEntityByIDFromName(name, world);

created.deserializeNBT(this.entityData);
try {
created.deserializeNBT(this.entityData);
} catch (Exception e) {
e.printStackTrace();
}
created.deathTime = 0;
created.hurtTime = 0;
created.limbSwing = 0;
Expand Down

0 comments on commit 0a94099

Please sign in to comment.