Skip to content

Commit

Permalink
Fix pheasant eggs not creating variation in texture
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmeow committed Nov 11, 2019
1 parent 830b750 commit d8fb977
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ protected void onImpact(RayTraceResult result) {
EntityPheasant entity = new EntityPheasant(this.world);
entity.setGrowingAge(-24000);
entity.setLocationAndAngles(this.posX, this.posY, this.posZ, this.rotationYaw, 0.0F);
entity.setType(entity.getRandomType());
this.world.spawnEntity(entity);
}
}
Expand Down

0 comments on commit d8fb977

Please sign in to comment.