Fix dedicated server crash with EntityFX