Attempt to fix setting spawnegg type