Added logic to player.isSplitting.