Skip to content

Commit

Permalink
Possible fix for issue #22
Browse files Browse the repository at this point in the history
  • Loading branch information
ata4 committed Mar 3, 2016
1 parent 5ce1871 commit 3b36de7
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ public DragonRenderer(RenderManager renderManager) {
for (DragonBreed breed : DragonBreedRegistry.getInstance().getBreeds()) {
breedModels.put(breed, new DragonModel(breed));
}

// workaround for mods that call getEntityTexture() before anything has
// been rendered
setModelForBreed(DragonBreedRegistry.getInstance().getBreedByName("end"));
}

private void setModelForBreed(DragonBreed breed) {
Expand Down

0 comments on commit 3b36de7

Please sign in to comment.