Fixes possible NPE if no egg info for entity