This &#8220;Pirates of the Caribbean&#8221; star wars scolded on set for the silliest reason