Since mobs are supposed to be able to be put inside, you will want to make the type of the parameter an /atom/movable, which includes both mobs and objs