Preventing defense command from being used by someone who doesn't own the castle