Added a method to check if the destination piece belongs to the same player making the current move