Skip to content

Commit

Permalink
Update TextureableCaps.java
Browse files Browse the repository at this point in the history
adjustment to RNG for random textures
  • Loading branch information
Thutmose committed Dec 9, 2021
1 parent 9f35da6 commit 3486e6a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ public LivingEntity getEntity()
public int getRandomSeed()
{
if (this.pokemob == null) this.pokemob = CapabilityPokemob.getPokemobFor(this.mob);
if (this.mob.isAddedToWorld()) return (int) System.nanoTime();
return this.pokemob.getRNGValue();
}

Expand Down

0 comments on commit 3486e6a

Please sign in to comment.