Skip to content

Commit

Permalink
Update ItemPokemobEgg.java
Browse files Browse the repository at this point in the history
fixes some egg imprinting issues
  • Loading branch information
Thutmose committed Sep 4, 2022
1 parent 4413167 commit d10e8b3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ private static LivingEntity imprintOwner(final IPokemob mob)
if (pokemob != null && pokemob.getOwner() instanceof Player) owner = pokemob.getOwner();
// Then select other owned mob types if present.
else if (ownable != null && ownable.getOwner() instanceof Player) owner = ownable.getOwner();
else owner = null;
}
return owner;
}
Expand Down

0 comments on commit d10e8b3

Please sign in to comment.