Skip to content

Commit

Permalink
Update RenderPokemob.java
Browse files Browse the repository at this point in the history
adds a dummy model for before models are fully loaded
  • Loading branch information
Thutmose committed Sep 3, 2021
1 parent 48ce21a commit 94a3292
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -403,9 +403,10 @@ private static Holder getMissingNo()

final Holder holder;

@SuppressWarnings({ "unchecked", "rawtypes" })
public RenderPokemob(final PokedexEntry entry, final EntityRendererManager p_i50961_1_)
{
super(p_i50961_1_, null, 1);
super(p_i50961_1_, new ModelWrapper(RenderPokemob.getMissingNo(), RenderPokemob.getMissingNo()), 1);
if (RenderPokemob.holders.containsKey(entry)) this.holder = RenderPokemob.holders.get(entry);
else
{
Expand Down

0 comments on commit 94a3292

Please sign in to comment.