Edited setpiece function so that they throw an exception when trying to overwrite another ship